Hello Mathias, Yes you can. You will probably need the update lock for synchronisation purposes: http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WApplication_1_1UpdateLock.html
Or, as an alternative, you may consider to use SocketNotifier: http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WSocketNotifier.html In this case, wt will keep track of events on your file descriptors and invoke slots when events occur. Regards, Wim. 2008/9/1 Mathias L. Baumann <[EMAIL PROTECTED]>: > Hi there, > i plan to write an multiserver. That is, a server that not only works with > http but also several other protocols. For that i need to start my own > socket functions and so on. > if read that for executing wt one needs to call WTrun (or sth like that). > > My question now is, can i execute this function in an other thread so i > can do my own program loop at the same time, listening for other ports and > so on? > > --Mathias L. Baumann > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
