Sign in Join
FPDoc Onlineexperiment

futex_op function

In unit Linux

Futex operation:.

Declaration

pascal
function futex_op(op: cint; oparg: cint; cmp: cint; cmparg: cint): cint

Description

FUTEX_OP Performs an operation on a futex:

FUTEX_OP := ((op and $F) shl 28) or  
            ((cmp and $F) shl 24) or 
            ((oparg and $FFF) shl 12) 
            or (cmparg and $FFF);

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.