Moved thread_types.h to this place.

Changed fd.h inlines because team->ioctx is now team->io_context.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2140 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2002-12-03 14:07:35 +00:00
parent 6ba1dc2341
commit 420a6221ec
2 changed files with 135 additions and 2 deletions
+2 -2
View File
@@ -90,9 +90,9 @@ static struct io_context *get_current_io_context(bool kernel);
static __inline struct io_context *get_current_io_context(bool kernel)
{
if (kernel)
return team_get_kernel_team()->ioctx;
return team_get_kernel_team()->io_context;
return thread_get_current_thread()->team->ioctx;
return thread_get_current_thread()->team->io_context;
}
#endif /* _FD_H */