The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Missing implementation of condition variable functions.
Markus
Guest

Hi!

I get undefined references to
SDL_DestroyCond
SDL_CondSignal
SDL_CondWait
SDL_CreateCond

I took a look at the source code (1.2.13) and found the declarations in the header file, but no implementation. Where can i get the implementation of these functions?

Regards,
Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090512/b90f4388/attachment-0001.htm>
Missing implementation of condition variable functions.
Stefan Monov
Guest

Quote:
I took a look at the source code (1.2.13) and found the declarations in the
header file, but no implementation. Where can i get the implementation of
these functions?

Hmm.

stefan at stefan:~/Desktop/goodcode/SDL/src$ grep "SDL_DestroyCond(SDL_cond" . -R
./thread/os2/SDL_syscond.c:DECLSPEC void SDLCALL SDL_DestroyCond(SDL_cond *cond)
./thread/generic/SDL_syscond.c:void SDL_DestroyCond(SDL_cond *cond)
./thread/dc/SDL_syscond.c:void SDL_DestroyCond(SDL_cond *cond)
./thread/pthread/SDL_syscond.c:void SDL_DestroyCond(SDL_cond *cond)
./thread/pth/SDL_syscond.c:void SDL_DestroyCond(SDL_cond *cond)
./thread/riscos/SDL_syscond.c:void SDL_DestroyCond(SDL_cond *cond)

Hope this helps?