Changeset 156b6406 in mainline for uspace/app/rcubench/rcubench.c


Ignore:
Timestamp:
2012-12-04T16:42:06Z (12 years ago)
Author:
Adam Hraska <adam.hraska+hos@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b188002
Parents:
b7acf38
Message:

Differentiated futexes when used with mutex semantics from those with semaphore semantics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/rcubench/rcubench.c

    rb7acf38 r156b6406  
    137137       
    138138        /* Signal another thread completed. */
    139         _futex_up(&bench->done_threads);
     139        futex_up(&bench->done_threads);
    140140}
    141141
     
    171171        /* Wait for threads to complete. */
    172172        for (size_t k = 0; k < bench->nthreads; ++k) {
    173                 _futex_down(&bench->done_threads);
     173                futex_down(&bench->done_threads);
    174174        }
    175175}
Note: See TracChangeset for help on using the changeset viewer.