eEcho blog

is een halte van de gedachte

fcntl file-locking

Provides access to the fcntl() system call and file-locking operations

Voorbeeld:

import fcntl, FCNTL
# Lock a file
fcntl.flock(f.fileno(),FCNTL.LOCK_EX)

Add A Comment

You must be logged in to post a comment.

Home | info@eecho.info | Voorwaarden | Blog