DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Cover image for Pub/Sub: C implementation
NULLX
NULLX

Posted on

Pub/Sub: C implementation

Note: this implementation is not optimized as:

  • Unsubscribing sets NULL on subscriptions array. Would be good to delete NULL subscriptions from there.
  • Publishing message is done sequentially. The messages will be delivered in order of subscription.

Top comments (0)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.