Project

General

Profile

Actions

Bug #355

closed

There's no clock_nanosleep() in time.h

Added by Dmitry M. almost 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
libcrystax
Target version:
Start date:
05/23/2013
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
all
Host OS:
Toolchain:
all
Android version:
CrystaX NDK Version:

Files

arm_clock_nanosleep.S (332 Bytes) arm_clock_nanosleep.S Dmitry M., 05/27/2013 06:09 PM
mips_clock_nanosleep.S (382 Bytes) mips_clock_nanosleep.S Dmitry M., 05/27/2013 06:09 PM
x86_clock_nanosleep.S (629 Bytes) x86_clock_nanosleep.S Dmitry M., 05/27/2013 06:09 PM
Actions #1

Updated by Dmitry M. almost 11 years ago

  • Priority changed from Low to Normal
Actions #2

Updated by Dmitry M. almost 11 years ago

One of the most important cases we need to check:

clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &sleeping, NULL)

Updated by Dmitry M. almost 11 years ago

Actually clock_nanosleep() is absent from C headers but there is correspondent syscall. So, fix is simple and consists of two steps:

  • add prototype of clock_nanosleep into time.h
  • add implementation of clock_nanosleep (which is actually the wrapper on syscall) into libcrystax.

Implementations for arm, mips and x86 are attached to this ticket

Actions #4

Updated by Dmitry M. almost 10 years ago

  • Target version set to 10.0.0
Actions #5

Updated by Dmitry M. over 9 years ago

  • Category set to libcrystax
  • Status changed from Open to In Progress
  • Assignee set to Dmitry M.
Actions #6

Updated by Dmitry M. over 9 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF