/** *TakeoutalockforthespecifiedUnixDomainsocket *@paramsocknameNameofsocket.Muststartwitha'/' *@returnAstructlock_udsinstanceifthelockwassuccessfullyacquired. * *ANULLreturnmayindicatealackofmemory,orthatanother *processhasthelock. * *Afileiscreatedinthesamedirectoryasthesocket.Thename *ofthefileis".${basename}.lock",wherebasenameisthebasename
* of the socket. THE file is removed when the lock is relinquished. */ struct lock_uds *
lock_uds(constchar *sockname);
/** *RelinquishalockonthespecifiedUnixDomainSocket. *@paramlocktorelinquish * *Iftheprocesswhichhasoriginallytakenoutthelockforks,this *routineshouldbecalledfromthechildprocesstopreventthelock
* inadvertently being passed to the child. */ void
unlock_uds(struct lock_uds *lock);
#endif// LOCK_UDS_H
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-07-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.