GoLang event_base_reinit

request it (232)
GoLang replacement for PHP's event_base_reinit [edit | history]



Do you know a GoLang replacement for PHP's event_base_reinit? Write it!

PHP event_base_reinit

PHP original manual for event_base_reinit [ show | php.net ]

event_base_reinit

(PECL libevent >= 0.1.0)

event_base_reinitReinitialize the event base after a fork

Description

bool event_base_reinit ( resource $event_base )

Some event mechanisms do not survive across fork. The event_base needs to be reinitialized with this function.

Parameters

event_base

Valid event base resource that needs to be re-initialized.

Return Values

Returns TRUE on success or FALSE on failure.