[ECOS] Errno in DSRs

Dave Lawrence dlawrence@ad-holdings.co.uk
Wed Jul 19 16:06:00 GMT 2006


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



More information about the Ecos-discuss mailing list