<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,9 +1,24 @@
 #--
-# Copyright (C)2007 Tony Arcieri, Roger Pack
+# Copyright (C)2007 Tony Arcieri
 # You can redistribute this under the terms of the Ruby license
 # See file LICENSE for details
 #++
 
+
+# This file creates a an EventMachine class
+# that is actually using rev as its underlying socket layer, but uses the EM API.
+# require it instead of eventmachine
+# i.e. 
+# require 'revem'
+# instead of
+# require 'eventmachine'
+# Note: you may want to do both a require 'eventmachine' THEN a require 'revem'
+# so that eventmachine is loaded once, then rev overrides it, then there's no require confusion 
+# (if simple servers hang, requiring 'eventmachine' after 'revem' could be the cause of it).
+# drawbacks: slightly slower than EM.
+# benefits: timers are more accurate using libev than using EM.  Also rev is sometimes more compatible than EM (ex: 1.9 windows)
+# TODO: some things like connection timeouts aren't implemented yet
+# DONE: timers and normal socket functions are implemented.
 require File.dirname(__FILE__) + '/rev'
 
 module EventMachine</diff>
      <filename>lib/revem.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d31f8a0be9807ad3e084110999e64ca8d170fc65</id>
    </parent>
  </parents>
  <author>
    <name>rogerdpack</name>
    <email>rogerpack2005@gmail.com</email>
  </author>
  <url>http://github.com/tarcieri/rev/commit/9ea46c2092faac14c87f39e44fe996fe8f7c004d</url>
  <id>9ea46c2092faac14c87f39e44fe996fe8f7c004d</id>
  <committed-date>2009-05-09T14:07:52-07:00</committed-date>
  <authored-date>2009-05-09T14:07:52-07:00</authored-date>
  <message>revem add note on proper usage</message>
  <tree>03f7e71982c38cb16899c6b287c3212cd7feeaf1</tree>
  <committer>
    <name>rogerdpack</name>
    <email>rogerpack2005@gmail.com</email>
  </committer>
</commit>
