Skip to content

DaveAtkinsonXMOS/lib_locks

 
 

Repository files navigation

Lock handling Library

Overview

This library provides access to hardware and software locks for use in concurrent C programs. In general it is not safe to use these to marshall within XC due to the assumptions XC makes about safe concurrent data access.

Two types of locks are provided. Hardware locks are fast and power efficient but there are a limited number per tile. Software locks are slower but you can use an unlimited number of them.

Software version and dependencies

The CHANGELOG contains information about the current and previous versions. For a list of direct dependencies, look for DEPENDENT_MODULES in lib_locks/module_build_info.

About

A library for inter-thread locking

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • XC 22.8%
  • Python 16.9%
  • C++ 16.3%
  • Objective-C 13.4%
  • Makefile 12.4%
  • Assembly 10.0%
  • C 8.2%