On Jan 31, 2009, at 05:28 , Ye Deng wrote:

Hi Deng,

I want to create a native thread for my partner who is not familar with the cooperative threading APIs, such as co_fd_wait()/co_block()/ co_yield(). Is there any sample code to take use of the "native thread" (implemented in native.cc, native-pool.hh)? I didnt find any in the existing models. It seems that they are never used.

The SQLite wrappers of the storage component use the native thread pooling class. You may find the wrappers useful as a sample. They are located in nox/apps/storage/sqlite3-impl.*.

Teemu



_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to