Changes between Version 9 and Version 10 of SrlApi


Ignore:
Timestamp:
Sep 17, 2007, 12:37:25 PM (17 years ago)
Author:
Nicolas Pouillon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SrlApi

    v9 v10  
    2121== Locks ==
    2222
     23 * {{{srl_lock_t lock = GET_ARG(port_name)}}} defines a local variable associated to a lock. The {{{port_name}}} argument corresponds to the port name defined in the task model defined in the DSX/L description.
     24
    2325 * {{{srl_lock_lock( lock )}}} takes a lock, waiting if necessary
    2426 * {{{srl_lock_unlock( lock )}}} releases the lock
    2527
    2628== Barriers ==
     29
     30 * {{{srl_barrier_t barrier = GET_ARG(port_name)}}} defines a local variable associated to a barrier. The {{{port_name}}} argument corresponds to the port name defined in the task model defined in the DSX/L description.
    2731
    2832 * {{{srl_barrier_wait( barrier )}}} waits for a barrier-global synchronization