00:25:21 # Life Debian meeting in University of Tokyo. Last Saturday, the Tokyo Area Debian Meeting was held on University of Tokyo. Hibino talked about Common lisp packaging, and Fujisawa talked about packaging MC-MPI for Debian. It was fun.
12:23:44 # Life file locking basics. I was looking at how to lock a file. flock(2) system call allows locking a file with LOCK_EX and LOCK_SH; if used properly, parallel processing can be serialized. It is also possible to use 'flock' from shell scripts. I found the design of 'flock fd' variant clever, and nonobvious. It's possible to assign arbitrary file to arbitrary fd number in shell, and effect of flock lasts as long as the fd is open. Interesting.
$Id: 200903.html.en,v 1.2 2009/03/22 15:26:27 dancer Exp $