Skip to content

jlmgtech/cevents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cevents

Simple event loop in c.

example usage

// from ./src/main.c
events = EventsCreate();
EventsPush(events, load_data, NULL);
EventsPush(events, load_img, NULL);
EventsRun(events);
destroy(events);

roadmap

  • atomic push and unshift operations so different threads can push onto the event queue
  • integrate promises
  • test promises
  • test windows, mac, linux, IOS, and android support (should work, but is only tested on linux so far)

bonus integrations

  • libuv or libevent for efficient IO operations

TODOs

  • install command for make
  • static and shared lib options
  • add cmake support

About

Simple event loop in c.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published