[Bugs] [Bug 1721686] New: Remove usage of obsolete function usleep()

bugzilla at redhat.com bugzilla at redhat.com
Tue Jun 18 21:28:14 UTC 2019


https://bugzilla.redhat.com/show_bug.cgi?id=1721686

            Bug ID: 1721686
           Summary: Remove usage of obsolete function usleep()
           Product: GlusterFS
           Version: mainline
            Status: NEW
         Component: core
          Assignee: bugs at gluster.org
          Reporter: vbellur at redhat.com
                CC: bugs at gluster.org
  Target Milestone: ---
    Classification: Community



Description of problem:

Excerpt from man 3 usleep:

"4.3BSD, POSIX.1-2001.  POSIX.1-2001 declares this function obsolete; use
nanosleep(2) instead.  POSIX.1-2008 removes the specification of usleep()."

Alternate functions like nanosleep() can be used instead of usleep().

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list