public
Description: Phusion Passenger (mod_rails)
Homepage: http://www.modrails.com/
Clone URL: git://github.com/FooBarWidget/passenger.git
Click here to lend your support to: passenger and make a donation at www.pledgie.com !
Add a C++ SpawnManager class, which communicates with the Ruby spawn 
manager server to spawn applications. Also add unit tests for it.
FooBarWidget (author)
Thu Jan 31 03:00:44 -0800 2008
commit  040201494bc0c798e543c0b2e1287ad15062ffa3
tree    9820dbb6183ec61488996f66af3abb944ec6683c
parent  1210ece4faeb5aca44f8e08cf6d09c5c467b59b5
...
61
62
63
64
65
66
67
...
61
62
63
 
64
65
66
0
@@ -61,7 +61,6 @@ class SpawnManager
0
           elsif !MESSAGE_HANDLERS.has_key?(name)
0
             raise StandardError, "Unknown message '#{name}' received."
0
           else
0
- name, *args = message
0
             __send__(MESSAGE_HANDLERS[name], *args)
0
           end
0
         rescue ExitNow
...
1
2
3
4
 
5
6
7
...
14
15
16
17
18
19
20
21
22
 
 
 
23
24
25
...
1
2
3
 
4
5
6
7
...
14
15
16
 
 
 
17
18
19
20
21
22
23
24
25
0
@@ -1,7 +1,7 @@
0
 CXX=g++
0
 CXXFLAGS=-Isupport -g -Wall `pkg-config --cflags apr-1 apr-util-1`
0
 AP2_FLAGS=-I../ext/apache2
0
-AP2_OBJECTS=CxxTestMain.o MessageChannelTest.o
0
+AP2_OBJECTS=CxxTestMain.o MessageChannelTest.o SpawnManagerTest.o
0
 
0
 .PHONY: test_all clean
0
 
0
@@ -14,11 +14,11 @@ Apache2ModuleTests: $(AP2_OBJECTS)
0
 CxxTestMain.o: CxxTestMain.cpp
0
   $(CXX) $(CXXFLAGS) -c CxxTestMain.cpp
0
 
0
-SpawnManagerTest.o: SpawnManagerTest.cpp ../ext/apache2/SpawnManager.h
0
- $(CXX) $(CXXFLAGS) $(AP2_FLAGS) -c SpawnManagerTest.cpp
0
-
0
 MessageChannelTest.o: MessageChannelTest.cpp ../ext/apache2/MessageChannel.h
0
   $(CXX) $(CXXFLAGS) $(AP2_FLAGS) -c MessageChannelTest.cpp
0
 
0
+SpawnManagerTest.o: SpawnManagerTest.cpp ../ext/apache2/SpawnManager.h
0
+ $(CXX) $(CXXFLAGS) $(AP2_FLAGS) -c SpawnManagerTest.cpp
0
+
0
 clean:
0
   rm -f Apache2ModuleTests *.o
0
\ No newline at end of file

Comments

    No one has commented yet.