Permalink
Browse files

Fully working C implementation of the main processing loop and event …

…scheduling for the simulator is now done. Added RPC and asynchronous semantics using deferreds as well.
  • Loading branch information...
1 parent 5688574 commit 09d54262c0d8191ee6edc94b61953492d54bcaa9 Jeff Rose committed Feb 28, 2007
Showing with 1,304 additions and 81 deletions.
  1. +2 −2 ext/guts/Makefile
  2. +702 −0 ext/guts/fib.c
  3. +65 −0 ext/guts/fib.h
  4. +98 −0 ext/guts/fibpriv.h
  5. +81 −30 ext/guts/guts.c
  6. +5 −1 lib/gosim.rb
  7. +120 −0 lib/gosim/defer.rb
  8. +79 −9 lib/gosim/network.rb
  9. +30 −19 lib/gosim/simulation.rb
  10. +5 −7 test/benchmark.rb
  11. +93 −0 test/defer_test.rb
  12. +24 −13 test/network_test.rb
View
@@ -78,8 +78,8 @@ extout_prefix =
target_prefix =
LOCAL_LIBS =
LIBS = $(LIBRUBYARG_SHARED) -lpthread -ldl -lcrypt -lm -lc
-SRCS = guts.c
-OBJS = guts.o
+SRCS = guts.c fib.c
+OBJS = guts.o fib.o
TARGET = gosim_guts
DLLIB = $(TARGET).so
STATIC_LIB =
Oops, something went wrong.

0 comments on commit 09d5426

Please sign in to comment.