This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Errno in DSRs
- From: Dave Lawrence <dlawrence at ad-holdings dot co dot uk>
- To: ecos-discuss at sources dot redhat dot com
- Date: Wed, 19 Jul 2006 16:35:43 +0100
- Subject: [ECOS] Errno in DSRs
Is it valid to write or read errno in DSR context?
Ie is there are separate errno instance for DSR, or
will the assignment occur to a thread DSR, or a NULL pointer.
The reason for asking is pthreads semaphore funcs eg
sem_trywait set errno, but we call them from DSRs sometimes.
Maybe we shouldn't be using the pthreads version??
Thanks
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss