Project

General

Profile

Bug #355

There's no clock_nanosleep() in time.h

Added by Dmitry Moskalchuk over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
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 Version:

Files

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

Updated by Dmitry Moskalchuk over 7 years ago

  • Priority changed from Low to Normal
#2

Updated by Dmitry Moskalchuk over 7 years ago

One of the most important cases we need to check:

clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &sleeping, NULL)

#3

Updated by Dmitry Moskalchuk over 7 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

#4

Updated by Dmitry Moskalchuk about 6 years ago

  • Target version set to 10.0.0
#5

Updated by Dmitry Moskalchuk almost 6 years ago

  • Category set to libcrystax
  • Status changed from Open to In Progress
  • Assignee set to Dmitry Moskalchuk
#6

Updated by Dmitry Moskalchuk almost 6 years ago

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

Also available in: Atom PDF