Added bind() callback, added locking for read() method.
Authored by: dmitri 2000-11-02
Parent: [r604]
Child: [r606]