File: fastrlock_helpers.h

package info (click to toggle)
python-fastrlock 0.8.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 172 kB
  • sloc: python: 642; makefile: 69; ansic: 5
file content (5 lines) | stat: -rw-r--r-- 151 bytes parent folder | download
1
2
3
4
5
#if PY_VERSION_HEX < 0x03020000 && !defined(PY_LOCK_FAILURE)
#  define PY_LOCK_FAILURE 0
#  define PY_LOCK_ACQUIRED 1
#  define PY_LOCK_INTR -1
#endif