This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Deleting a semaphore
- From: "Daniel Lidsten" <Daniel dot Lidsten at combitechsystems dot com>
- To: "ecos-discuss" <ecos-discuss at sources dot redhat dot com>
- Date: Sun, 29 Jun 2003 18:55:13 +0200
- Subject: [ECOS] Deleting a semaphore
Hi,
Is there any way to see which (if any) threads that are pending for a
semaphore? If it doesnt then it seems dangerous to remove/destroy a
semaphore if it maight hang the system. The peek operation will only
work to make such check if the init value was above zero.
Regards, Daniel Lidsten
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss