BRL-CAD
bu_semaphore.c File Reference
#include "common.h"
#include "bu.h"
Include dependency graph for bu_semaphore.c:

Go to the source code of this file.

Data Structures

struct  increment_thread_args
 

Functions

int main (int argc, char **argv)
 

Variables

const int SEM = BU_SEM_LAST+1
 

Detailed Description

Tests libbu parallel processing.

Tests libbu semaphore locking.

Definition in file bu_semaphore.c.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 135 of file bu_semaphore.c.

References bu_avail_cpus(), bu_exit(), bu_getopt(), bu_optarg, MAX_PSW, and USAGE.

Here is the call graph for this function:

Variable Documentation

const int SEM = BU_SEM_LAST+1

Definition at line 31 of file bu_semaphore.c.