src/server/daemon/event.c

changeset 385
a1f4cb076d2f
parent 256
19259b6c5cf7
child 415
d938228c382e
equal deleted inserted replaced
210:21274e5950af 385:a1f4cb076d2f
24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 * POSSIBILITY OF SUCH DAMAGE. 26 * POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #include "../../ucx/map.h" 29 #include <ucx/map.h>
30 #include "../util/atomic.h" 30 #include "../util/atomic.h"
31 31
32 #include "event.h" 32 #include "event.h"
33 33
34 UcxMap *event_handler_map = NULL; 34 UcxMap *event_handler_map = NULL;
86 return 0; 86 return 0;
87 } 87 }
88 } 88 }
89 89
90 EventHandlerConfig cfg; 90 EventHandlerConfig cfg;
91 cfg.name = sstr("default"); 91 cfg.name = SC("default");
92 cfg.nthreads = 1; 92 cfg.nthreads = 1;
93 cfg.isdefault = 1; 93 cfg.isdefault = 1;
94 94
95 return create_event_handler(&cfg); 95 return create_event_handler(&cfg);
96 } 96 }

mercurial