File: signals.pxd

package info (click to toggle)
memory-allocator 0.1.3-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 200 kB
  • sloc: python: 82; sh: 15; makefile: 14
file content (10 lines) | stat: -rw-r--r-- 321 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
# ``memory.pxd`` is a strict copy of the version in ``cysignals``.

# Usage of ``sig_block`` / ``sig_unblock`` is not necesarry for ``MemoryAllocator``:
# One should not wrap its methods with ``sig_on`` ... ``sig_off`` anyway.

cdef inline void sig_block() nogil:
    pass

cdef inline void sig_unblock() nogil:
    pass