[SDL] Problem with threads and new in C++

Julien Pauty jpauty at irisa.fr
Thu Jan 30 06:31:00 PST 2003


Ok, my first program was not a good exemple at all, but look at this one :

it is what I get on my console :

bash-2.05b$ ./thread_SDL
1->(acquisition)
1->(liberation)
1->(acquisition)
1->(liberation)
1->(acquisition)
m
1->(liberation)
console->(acquisition)
console->(liberation)
1->(acquisition)
1->(liberation)
1->(acquisition)
m
1->(liberation)
1->(acquisition)
1->(liberation)
1->(acquisition)
1->(liberation)
1->(acquisition)
q
1->(liberation)
1->(acquisition)
...

and I can't quit it (or with Crtl-c)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: thread_SDL.c
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20030120/a2059d28/attachment-0008.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20030120/a2059d28/attachment-0008.pgp>


More information about the SDL mailing list