[suite � cette discussion]
Merci pour ces infos utiles, j'ai utilis� na�vement "semaphore.h" pendant plusieurs heures �tant donn� que son utilisation ne g�n�re aucun warning ne comprenant pas d'o� venaient les probl�mes.
Toutefois, ton impl�mentation m'a �galement pos� un petit probl�me que j'ai vite pu r�gler, au niveau de l'appel "mach_task_self()" :
http://groups.google.com/a/webmproje...93a61821?pli=1When compiling on OS X, there is a warning for undefined function
mach_task_self().
This functions is defined in mach_init.h. If it include mach/mach.h
instead of <mach/mach_task.h> is fix this issue (or at east, include
<mach/mach_init.h>).
For the record, mach_task_self is defined as a macro to a global var
instead of a function call when the proper header is include. So even
if this function is compatible with the implicit declaration, it may
be interesting to fix this.
Partager