Project

General

Profile

Actions

Bug #3162

closed

sleep() is not a pthread cancel point?

Added by godfrey almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
12/04/2018
Due date:
% Done:

0%

Estimated time:

Description

OS Version: 5.4
When running sleep(5) in one thread, it cannot be canceled.
After change to usleep(5000000), it can be canceled.
So, is sleep() a pthread cancel point on DragonFlyBSD?
I didn't found any information in related manpages.
The binary I tested is linked to /usr/lib/libpthread.so.0,
which symlink to thread/libthread_xu.so.
Thanks

Actions

Also available in: Atom PDF