This documenta- tion describes the current state of development.
Note that interfaces and functionality may still change.

Prokee Modules:
  A
  B
  C
  D
  E
  F
  G
  I
  L
  M
  N
  O
  P
  R
  S
  T
  U
  W

     open all    |    close all

GUI Elements:
  B
  C
  I
  M
  P
  R
  S
  T

     open all    |    close all

GUI Interactions:
  B
  F
  H
  S

     open all    |    close all

GUI Layouts:
  L

     open all    |    close all

Games/Demos:
  M

     open all    |    close all

Third Party Libraries:
  P
  F
  Z

     open all    |    close all

Information about this Website / Informationen zu dieser Webseite:
In case of any questions, or comments, please feel free to contact me via email at apoll500@gmail.com.

Module futex [Version: v01]

This documentation describes the Prokee module interface.


Static Methods:
create
Futex futex::create(long int sec,long int nsec)
destroy
int futex::destroy(Futex ft)
fwait
int futex::fwait(Futex ft)
fpost
int futex::fpost(Futex ft)

Motivation


Static Methods

   create


Creates a new futex.

Signature:
Futex futex::create(long int sec,long int nsec)

Parameters:
Type Name Direction Description
long int secSeconds to wait.
long int nsecNanoseconds to wait.

Return value:
The new futex.

   destroy


Destroys a futex.

Signature:
int futex::destroy(Futex ft)

Parameters:
Type Name Direction Description
Futex ft[IN/OUT]A Futex created with futex::create().

Return value:
Returns 0.

   fwait


Pauses the calling thread.

Signature:
int futex::fwait(Futex ft)

Parameters:
Type Name Direction Description
Futex ft[IN/OUT]A Futex created with futex::create().

Return value:
Returns 0.

   fpost


Wakes up a paused thread.

Signature:
int futex::fpost(Futex ft)

Parameters:
Type Name Direction Description
Futex ft[IN/OUT]A Futex created with futex::create().

Return value:
Returns 0.


Copyright © 2017 - 2019 by Andreas Pollhammer