Changeset d314571 in mainline for kernel/generic/src/main/main.c


Ignore:
Timestamp:
2018-11-11T15:46:26Z (5 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9e889f6
Parents:
5c03bd30
git-author:
Jakub Jermar <jakub@…> (2018-11-10 14:36:06)
git-committer:
Jakub Jermar <jakub@…> (2018-11-11 15:46:26)
Message:

Turn wait queue into a kobject usable by uspace

In order to provide an elegant synchronization mechanism for userspace,
this commit adds syscalls to create, sleep on and wakeup from a wait
queue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/main/main.c

    r5c03bd30 rd314571  
    7878#include <synch/waitq.h>
    7979#include <synch/futex.h>
     80#include <synch/syswaitq.h>
    8081#include <arch/arch.h>
    8182#include <arch.h>
     
    279280        thread_init();
    280281        futex_init();
     282        sys_waitq_init();
    281283
    282284        sysinfo_set_item_data("boot_args", NULL, bargs, str_size(bargs) + 1);
Note: See TracChangeset for help on using the changeset viewer.