mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 13:55:15 +00:00
fs/streams: Move the file streams from the group structure into TLS
This is preparation for flushing streams from user space, like it should
be done.
- Move tg_streamlist (group, kernel space) ->
ta_streamlist (TLS, user space)
- Access stream list via tg_info in kernel
- Access stream list via TLS in user space
- Remove / rename nxsched_get_streams -> lib_getstreams
- Remove system call for nxsched_get_streams
This commit is contained in:
parent
1a8cbc0b99
commit
2ed51d026c
15 changed files with 32 additions and 111 deletions
|
|
@ -107,7 +107,12 @@ extern "C"
|
|||
struct task_group_s;
|
||||
void lib_stream_initialize(FAR struct task_group_s *group);
|
||||
void lib_stream_release(FAR struct task_group_s *group);
|
||||
#endif
|
||||
|
||||
/* Functions contained in lib_getstreams.c **********************************/
|
||||
|
||||
struct streamlist;
|
||||
FAR struct streamlist *lib_get_streams(void);
|
||||
#endif /* CONFIG_FILE_STREAM */
|
||||
|
||||
/* Functions defined in lib_srand.c *****************************************/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue