This website works better with JavaScript
Home
Explore
Help
Sign In
CNI
/
TreelLab
Watch
2
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Browse Source
Manually call self termination
DricomDragon
5 years ago
parent
79f48d2e85
commit
fa1772059a
1 changed files
with
2 additions
and
0 deletions
Split View
Show Diff Stats
2
0
prog/sources/user-tasks.cpp
+ 2
- 0
prog/sources/user-tasks.cpp
View File
@@ -20,6 +20,8 @@ static void task1 (USER_MODE) {
counter ++;
}
}
+
+ taskSelfTerminates (MODE);
}