"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/testserverthread.cpp" between
muscle8.20.zip and muscle8.30.zip

About: MUSCLE (Multi User Server Client Linking Environment) is a messaging server and networking API. The included server program ("muscled") lets its clients message each other, and/or store information in its serverside hierarchical database.

testserverthread.cpp  (muscle8.20):testserverthread.cpp  (muscle8.30)
skipping to change at line 75 skipping to change at line 75
protected: protected:
virtual void InternalThreadEntry() virtual void InternalThreadEntry()
{ {
printf("Child thread begins!\n"); printf("Child thread begins!\n");
ReflectServer reflectServer; ReflectServer reflectServer;
status_t ret; status_t ret;
WatchNotifySocketSession wnss(reflectServer, *this); WatchNotifySocketSession wnss(reflectServer, *this);
if (reflectServer.AddNewSession(AbstractReflectSessionRef(&wnss, false), G etInternalThreadWakeupSocket()).IsOK(ret)) if (reflectServer.AddNewSession(DummyAbstractReflectSessionRef(wnss), GetI nternalThreadWakeupSocket()).IsOK(ret))
{ {
printf("Child thread running...\n"); printf("Child thread running...\n");
(void) reflectServer.ServerProcessLoop(); (void) reflectServer.ServerProcessLoop();
printf("Child thread: ServerProcessLoop() returned!\n"); printf("Child thread: ServerProcessLoop() returned!\n");
} }
else LogTime(MUSCLE_LOG_ERROR, "Child thread: Couldn't add WatchNotifySoc ketSession! [%s]\n", ret()); else LogTime(MUSCLE_LOG_ERROR, "Child thread: Couldn't add WatchNotifySoc ketSession! [%s]\n", ret());
reflectServer.Cleanup(); reflectServer.Cleanup();
} }
}; };
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)