[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#906917: sem_timedwait could always block and returns ETIMEOUT but decrements the value on i686 architecture



* Андрей Доценко:

> The problem occurs only when using semaphores in a library that is not
> linked against pthread.

Yes, that's expected.  Sorry I didn't see this earlier—we have an
upstream bug about this:

  <https://sourceware.org/bugzilla/show_bug.cgi?id=23543>

In general, underlinking produces broken binaries.

Thanks,
Florian


Reply to: