X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftalk-event-driven-programming-in-perl;a=blobdiff_plain;f=notes.txt;fp=notes.txt;h=0d32c72821b78cfa6b92dd54fbd93df17c9fa3a3;hp=16f2f5c0439b4377c8ed931153d5255c126e2932;hb=fa698f7b8f498a04b0394f5cadc2cadf0a6fb21a;hpb=4b5e8e86c925ec0b05a5e31dc1374585a903dfc3 diff --git a/notes.txt b/notes.txt index 16f2f5c..0d32c72 100644 --- a/notes.txt +++ b/notes.txt @@ -30,6 +30,7 @@ X kernel facilities (poll, select, etc.) - Exceptions in event-driven code. - SIGPIPE, EPIPE - might have more to do with long-lived processes rather than just event-driven programming, but still something to watch out for... +- You should almost always check the return code of your syscalls to see if they succeeded or not. 7. Promises: - Future @@ -51,6 +52,7 @@ X What is event-driven programming? - C10k problem - EDA (event-driven architecture) - Benefits of Event-driven +- How to debug event-driven code. Traditional programs: - CGI - web server calls your program, and your program does its thing and