Sha256: 7b53dc4ba626ff3e8eb59bf88c8697f67a5bfd08699cac3b546785451deba910

Contents?: true

Size: 756 Bytes

Versions: 4

Compression:

Stored size: 756 Bytes

Contents

void sleepy_penguin_init_epoll(void);

#ifdef HAVE_SYS_TIMERFD_H
void sleepy_penguin_init_timerfd(void);
#else
#  define sleepy_penguin_init_timerfd() for(;0;)
#endif

#ifdef HAVE_SYS_EVENTFD_H
void sleepy_penguin_init_eventfd(void);
#else
#  define sleepy_penguin_init_eventfd() for(;0;)
#endif

#ifdef HAVE_SYS_INOTIFY_H
void sleepy_penguin_init_inotify(void);
#else
#  define sleepy_penguin_init_inotify() for(;0;)
#endif

#ifdef HAVE_SYS_SIGNALFD_H
void sleepy_penguin_init_signalfd(void);
#else
#  define sleepy_penguin_init_signalfd() for(;0;)
#endif

void Init_sleepy_penguin_ext(void)
{
	sleepy_penguin_init_epoll();
	sleepy_penguin_init_timerfd();
	sleepy_penguin_init_eventfd();
	sleepy_penguin_init_inotify();
	sleepy_penguin_init_signalfd();
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sleepy_penguin-3.1.0 ext/sleepy_penguin/init.c
sleepy_penguin-3.0.1 ext/sleepy_penguin/init.c
sleepy_penguin-3.0.0 ext/sleepy_penguin/init.c
sleepy_penguin-2.0.0 ext/sleepy_penguin/init.c