Commit Graph

9 Commits

Author SHA1 Message Date
Michael Grunder
669ac9d0c8
Safe allocation wrappers (#754)
Create allocation wrappers with a configurable OOM handler (defaults to abort()).

See #752, #747
2020-01-28 12:13:05 -08:00
antirez
2d66c4814e Add missing license and copyright for adapters
This is a backport of
d01aad329c
2014-04-09 17:02:42 -04:00
R. Tyler Croy
62c8917f2f Make libev adapter functions static to fix linking
This will allow two different compilation units to include libev.h
and link together
2011-06-27 12:17:37 -07:00
R. Tyler Croy
0f2e899c41 Add implied include of stdlib.h 2011-06-27 12:17:37 -07:00
Pieter Noordhuis
18c55a8f1e Scope event library related data and hooks to a struct 2010-12-29 15:41:03 +01:00
Pieter Noordhuis
af7369a253 Use extra field for adapter-specific data
This makes sure that the "data" field on the asynchronous context can be
used for user-specific data.
2010-12-01 16:43:24 +01:00
Pieter Noordhuis
fb49cd1988 Make the libev adapter work without support for multiple event loops 2010-11-23 15:55:32 +01:00
Pieter Noordhuis
4f4d1ed7b5 Explicit casts for the libev adapter 2010-11-22 09:45:55 +01:00
Pieter Noordhuis
89e0622535 Move libev/libevent headers to adapters directory 2010-11-01 10:42:32 +01:00