[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclinux-dev
Subject:    RE: [uClinux-dev] problem with restart of pthread
From:       "Friedrich, Lars" <lars.friedrich () wago ! com>
Date:       2005-11-17 14:27:12
Message-ID: AB4979EC12A5EB419810807434495A17283DD0 () svex01001 ! wago ! local
[Download RAW message or body]

> thread1 wakes up and resets&restarts thread2 by
> calling pthread_cancel() and pthread_create().

> thread1 calls pthread_cancel() to thread2, thread2's
> exit-handler function is called 4ms later and calls
> pthread_create() again.

Now who creates? Thread 1 or the exit handler of Thread 2?

Do you compile the application with _REENTRANT defined?

Best regards,
Lars Friedrich
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic