Add Fiber's double resume test and fix it.

This commit is contained in:
take_cheeze
2014-03-15 14:49:46 +09:00
parent fc75cff14e
commit 62f05614ee
3 changed files with 18 additions and 3 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ typedef struct {
enum mrb_fiber_state {
MRB_FIBER_CREATED = 0,
MRB_FIBER_RUNNING,
MRB_FIBER_RESUMED,
MRB_FIBER_SUSPENDED,
MRB_FIBER_TERMINATED,
};