Denis Oliver Kropp wrote: > Claudio Ciccani schrieb: > >> Denis Oliver Kropp wrote: >> >>> But pthread_cancel() also terminates the thread at mutex_lock for >>> example which would be bad if a lock is already taken. I'd prefer >>> having well chosen voluntary exit points. >>> >> >> That can be avoided by using a similar procedure: >> >> pthread_setcancelstate(PTHREAD_CANEL_DISABLE) >> // >> // safe calls ... >> // >> pthread_setcancelstate(PTHREAD_CANCEL_ENABLE) >> // process pending cancelations >> pthread_testcancel() >> >> >> According to me, the problems you are encountering suggest that >> pthread_cancel() should not be removed. > > > The DI guys prefer to not add a needed extra library (on AMD64), but > replace those calls. >
Adding one more library to d-i on AMD64 is still technically possible, but our release manager would like to avoid that if possible. Attilio _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
