Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On Solaris, to use nanosleep must link the rt libraray. Below is the manual of nanosleep on Solaris: Realtime Library Functions nanosleep(3RT) NAME nanosleep - high resolution sleep SYNOPSIS cc [ flag... ] file... -lrt [ library... ] #include <time.h> int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
- Loading branch information