prolong the cothread misery by increasing the stack size to something remotely reasonable.

This commit is contained in:
smf- 2011-07-28 19:38:05 +00:00
parent 1457f41324
commit a95e67c319

View File

@ -64,7 +64,7 @@ class cothread
public:
// construction/destruction
cothread(cothread_t existing_thread);
cothread(cothread_entry_delegate entry, size_t stack = 65536);
cothread(cothread_entry_delegate entry, size_t stack = 1048576);
~cothread() { if (m_creator_cothread != NULL) co_delete(m_cothread); }
// switching