Pub/Sub message queue in C.