MCPcopy Create free account
hub / github.com/ActiveState/code / unlink

Method unlink

recipes/Python/577655_POSIX_Semaphore_FreeBSD/recipe-577655.py:165–168  ·  view source on GitHub ↗

Remove a named semaphore.

(name)

Source from the content-addressed store, hash-verified

163
164 @staticmethod
165 def unlink(name):
166 """Remove a named semaphore."""
167 if Sem._sem_unlink("/%s" % name):
168 raise SemError()
169
170 def wait(self, timeout=None, no_eintr=True):
171 """Increment the value of the semaphore, wait up to timeout or wait

Callers 15

__init__Method · 0.80
release_mutexMethod · 0.80
recipe-577281.pyFile · 0.80
__del__Method · 0.80
testFunction · 0.80
releaseMethod · 0.80
raw_inputMethod · 0.80
do_magicMethod · 0.80
clean_upMethod · 0.80
get_outputFunction · 0.80
get_revisionFunction · 0.80
do_magicMethod · 0.80

Calls 1

SemErrorClass · 0.85

Tested by 1

test_fileFunction · 0.64