Coder Social home page Coder Social logo

libevent-book's People

Contributors

angiejc avatar azat avatar blakejakopovic avatar droe avatar goncalor avatar huahang avatar kenlittle avatar klondi avatar liuyunbin avatar ln5 avatar mcandre avatar mistotebe avatar nathanfrench avatar nmathewson avatar npe9 avatar petdr avatar pprindeville avatar rosslagerwall avatar roycyt avatar rransom8774 avatar shahn avatar sinic avatar suphgcm avatar widgetii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libevent-book's Issues

event_base_get_features() example code of Ref2

at line 241 of Ref2, the flag for O1 event notification shall be EV_FEATURE_O1 instead of EV_FEATURE_ET ?

if ((f & EV_FEATURE_ET))
    printf(" Edge-triggered events are supported.");
if ((f & EV_FEATURE_ET)) <- EV_FEATURE_O1 ?
    printf(" O(1) event notification is supported.");
if ((f & EV_FEATURE_FDS))

PDF does not build

Seems like there is a problem with asciidoc 8.6.3

  $ make pdf
  a2x -f pdf LibeventBook.txt
  a2x: ERROR: xmllint --nonet --noout --valid /Users/tcurdt/Desktop/libevent-book/LibeventBook.xml returned non-zero exit status 4
  make: *** [LibeventBook.pdf] Error 1

Set timer from signal callback warning - needs resolution

In nmathewson/libevent-book/blob/master/Ref4_event.txt under _constructing_signal_events there is a warning about setting timers from signal callback "It might not be supported".

I did a SIMPLE test and did not run into a problem, furthermore it would make sense for this to potentially be a problem in the signal handler itself, rather than the callback. I assume that the callback should be executing in the event-loop context and thus should be okay. In either case, IMO this should either go away or become more definitive, i.e. list cases, environments where it is not supported.

Thanks
-Nevo

FD_SET(i, &readset)?

In file "01intro.txt"

/* Add all of the interesting fds to readset */
for (i=0; i < n_sockets; ++i) {
if (fd[i]>maxfd) maxfd = fd[i];
FD_SET(i, &readset);
}

Should it be FD_SET(fd[i], &readset)? I'm not sure about it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.