libbe: Fixed current_team() to work after a fork.

* This allows to start a valid looper in the forked child, for example.
This commit is contained in:
Axel Dörfler
2015-06-12 10:43:15 +02:00
parent 0975f16f7c
commit 8a86ad7593
3 changed files with 17 additions and 5 deletions
+1
View File
@@ -25,6 +25,7 @@ status_t get_app_ref(team_id team, entry_ref *ref, bool traverse = true);
status_t get_app_ref(entry_ref *ref, bool traverse = true);
team_id current_team();
void init_team_after_fork();
thread_id main_thread_for(team_id team);
bool is_app_showing_modal_window(team_id team);