Closed Bug 979566 Opened 11 years ago Closed 11 years ago

Convert usleep to nanosleep

Categories

(Core :: Gecko Profiler, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: BenWa, Assigned: vikstrous)

Details

Attachments

(1 file, 1 obsolete file)

usleep calls nanosleep under the covers but it's doing a division in the wrapper code. If we call nanosleep directly we can avoid this division. Viktor got time for a small patch?
Attached patch nanosleep (obsolete) — Splinter Review
Assignee: nobody → vstanchev
Attachment #8385674 - Flags: review?(bgirard)
Attached patch nanosleepSplinter Review
Attachment #8385674 - Attachment is obsolete: true
Attachment #8385674 - Flags: review?(bgirard)
Attachment #8386162 - Flags: review?(bgirard)
Attachment #8386162 - Flags: review?(bgirard) → review+
Flags: needinfo?(bgirard)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: