On Mar 16 18:11, Samuel Thibault wrote:
> Hi,
>
> Jonathan Lennox, le Thu 16 Mar 2006 12:03:03 -0500, a écrit :
> Content-Description: message body text
> > In general, the idea of verifying objects on their init functions seems
> > dubious to me -- how can you tell initialized objects from random
Hi,
Jonathan Lennox, le Thu 16 Mar 2006 12:03:03 -0500, a écrit :
Content-Description: message body text
> In general, the idea of verifying objects on their init functions seems
> dubious to me -- how can you tell initialized objects from random stack or
> heap garbage?
Posix says:
Attemptin
Cygwin's pthread_create function leaves a pointer to the pthread object's
mutex member on the stack.
If you subsequently call pthread_mutex_init on mutex in an automatic
variable, it's possible for it to reuse this stack slot. In this case,
pthread_mutex_init observes that the mutex object is a p
3 matches
Mail list logo