Package qthreads-devel
Development files for qthreads library
https://www.sandia.gov/qthreads/
Header files and development libraries for qthreads library.
Version: 1.22^20251007gitcedb1fc
Library Functions | |
| qalloc_checkpoint | locks an address, and may block |
| qalloc_cleanup | unmaps all memory maps |
| qalloc_free | return an allocated block to the map |
| qalloc_loadmap | creates or loads a map file |
| qalloc_malloc | allocates memory from the specified map |
| qarray_create | allocate a runtime distributed array |
| qarray_destroy | deallocate a distributed array |
| qarray_dist_like | redistribute a qarray to match another qarray |
| qarray_elem | return a pointer to a distributed array element |
| qarray_iter | iterate through a distributed array |
| qarray_shepof | locate a distributed array element |
| qdqueue_create | allocate a distributed queue |
| qdqueue_dequeue | remove an element from a distributed queue |
| qdqueue_destroy | deallocate a distributed queue |
| qdqueue_empty | test whether a distributed queue is empty |
| qdqueue_enqueue | append an element to a distributed queue |
| qlfqueue_create | allocate a lock-free queue |
| qlfqueue_dequeue | remove an element from a lock-free queue |
| qlfqueue_destroy | deallocate a lock-free queue |
| qlfqueue_empty | test whether a lock-free queue is empty |
| qlfqueue_enqueue | append an element to a lock-free queue |
| qpool_alloc | allocate memory from a distributed memory pool |
| qpool_create | allocate a distributed memory pool |
| qpool_destroy | deallocate a distributed memory pool |
| qpool_free | return a memory block to its distributed memory pool |
| qt_accept | accept a connection on a socket |
| qt_allpairs | computes a given function over all pairs of the input data |
| qt_begin_blocking_action | indicate blocking operations to the runtime |
| qt_connect | initiate a connection on a socket |
| qt_dictionary_create | allocate a concurrent dictionary |
| qt_dictionary_delete | remove a key/value pair from the dictionary |
| qt_dictionary_destroy | deallocate a concurrent dictionary |
| qt_dictionary_end | create an iterator pointing to the end of the dictionary |
| qt_dictionary_get | retrieve a value from the dictionary |
| qt_dictionary_iterator_copy | duplicate an iterator |
| qt_dictionary_iterator_create | allocate a concurrent dictionary iterator |
| qt_dictionary_iterator_destroy | deallocate a qt_dictionary_iterator |
| qt_dictionary_iterator_equals | compare two iterators |
| qt_dictionary_iterator_get | retrieves the indicated entry in the dictionary |
| qt_dictionary_iterator_next | retrieve the current value and advance the iterator |
| qt_dictionary_put | insert a key/value pair into a dictionary |
| qt_dictionary_put_if_absent | insert a key/value pair into a dictionary |
| qt_double_max | find the maximum value within an array in parallel |
| qt_double_min | find the minimum value within an array in parallel |
| qt_double_prod | multiplies an array in parallel |
| qt_double_sum | add up an array in parallel |
| qt_loop | a simple implementation of a threaded loop |
| qt_loop_balance | a slightly intelligent implementation of a threaded loop |
| qt_loop_queue_addworker | adds a worker to an ongoing loop |
| qt_loop_queue_create | allocate a loop queue handle |
| qt_loop_queue_run | an intelligent implementation of a threaded loop |
| qt_loop_queue_setchunk | a funciton to specify a loop chunk size |
| qt_loopaccum_balance | a slightly intelligent implementation of a threaded loop that returns values |
| qt_poll | synchronous I/O multiplexing |
| qt_pread | read input |
| qt_pwrite | write output |
| qt_select | synchronous I/O multiplexing |
| qt_sinc_create | allocate and/or initialize a sinc |
| qt_sinc_destroy | deallocate and clean-up a sinc |
| qt_sinc_expect | increase the number of expected submissions |
| qt_sinc_reset | restarts a sinc |
| qt_sinc_submit | submit to a sinc |
| qt_sinc_wait | block caller until all expected submissions are submitted |
| qt_system | pass a command to the shell |
| qt_team_critical_section | marks a region of code that must not be interrupted by a eureka |
| qt_team_eureka | signals a eureka moment |
| qt_team_id | returns the current team's unique ID number |
| qt_team_parent_id | returns the current team's parent's unique ID number |
| qt_wait4 | wait for process termination |
| qt_write | accept a connection on a socket |
| qthread_cacheline | returns the cache line size |
| qthread_cas | atomically compare-and-swap a value |
| qthread_disable_shepherd | enable or disable a shepherd for thread scheduling |
| qthread_disable_worker | enable or disable a worker for thread scheduling |
| qthread_distance | returns the distance between shepherds |
| qthread_empty | sets the given address to either "empty" or "full" |
| qthread_feb_barrier_create | manipulates FEB-based barriers |
| qthread_feb_status | return the full/empty status of an address |
| qthread_finalize | terminate all qthreads and free library data stuctures |
| qthread_fork | spawn a qthread |
| qthread_get_tasklocal | get pointer to the task-local data segment |
| qthread_id | returns the qthread's unique ID number |
| qthread_incr | atomically increment a value |
| qthread_init | initialize the qthread library |
| qthread_lock | lock or unlock an address |
| qthread_migrate_to | relocate a qthread to the target shepherd |
| qthread_num_shepherds | returns the number of shepherds |
| qthread_num_workers | returns the number of workers |
| qthread_queue_create | allocate and/or initialize a synchronization queue |
| qthread_queue_join | enter a queue and block until the queue is released |
| qthread_queue_length | return the length of the queue |
| qthread_queue_release_all | activate the tasks in the queue for scheduling and execution |
| qthread_readFE | waits for the source to be full, then copies and empties it |
| qthread_readFF | waits for the source to be full, then copies it |
| qthread_readstate | returns status information from the runtime |
| qthread_retloc | returns pointer to qthread's return location |
| qthread_shep | returns the qthread's shepherd ID |
| qthread_shep_ok | check on whether a thread's shepherd is disabled |
| qthread_size_tasklocal | returns the number of bytes allocated for task-local data |
| qthread_sorted_sheps | returns a list of other shepherds, sorted by their distance |
| qthread_spawn | spawn a qthread (task) |
| qthread_stackleft | returns the amount of space left in the thread's allocated stack |
| qthread_syncvar_empty | sets the given syncvar to either "empty" or "full" |
| qthread_syncvar_readFE | waits for the syncvar to be full, then copies its data and empties it |
| qthread_syncvar_readFF | waits for the syncvar to be full, then copies its data |
| qthread_syncvar_status | return the full/empty status of a syncvar_t |
| qthread_syncvar_writeEF | waits for the dest syncvar to be empty, then fills it |
| qthread_syncvar_writeF | fills a syncvar_t with data |
| qthread_worker | returns the qthread's current worker ID |
| qthread_worker_unique | returns the qthread's current worker's stable ID |
| qthread_writeEF | waits for the dest to be empty, then fills it |
| qthread_writeF | fills an address with data |
| qthread_yield | release the CPU, allow other qthreads to run |
| qtimer_create | |
| qtimer_destroy | deallocate a qtimer |
| qtimer_fastrand | generate a quick random number based on the high-resolution timer |
| qtimer_secs | calculate the elapsed time in seconds |
| qtimer_start | start/stop a qtimer timing |
| qutil_double_max | find the maximum value within an array in parallel |
| qutil_double_min | find the minimum value within an array in parallel |
| qutil_double_mult | multiply an array in parallel |
| qutil_double_sum | add up an array in parallel |
| qutil_qsort | sorts an array of doubles in parallel |