* runtime_sigprof.cpp (headers): Adjustment.
(globals): Delete unused pipes. Add cond variable for syncing.
(myhander): Rename to MyHandler.
(writer_thread): Rename to WriterThread.
(Initializer::Initializer): Rename; Delete pipes.
(Initializer::~Initializer): Delete pipes.
(struct Record): Add new field next_; To make a linked list.
(struct Lock): We need it again.
(record_this): Rename to RecordThis.
(RecordThis): Delete pipes approaches; Use cas approaches.
Wait up WriterThread after done.
(DoWriteRecursive): Write the record to file recursively. We only
write records that its child has been written.
(writer_thread): Rename To WriterThread.
(WriterThread): Use cas approaches instead of pipes.
(__end_ctrace__): Rename record_this to RecordThis.