Changeset d314571 in mainline for abi


Ignore:
Timestamp:
2018-11-11T15:46:26Z (7 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.

Location:
abi/include/abi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • abi/include/abi/cap.h

    r5c03bd30 rd314571  
    5252} *cap_irq_handle_t;
    5353
     54typedef struct {
     55} *cap_waitq_handle_t;
     56
    5457#endif
    5558
  • abi/include/abi/syscall.h

    r5c03bd30 rd314571  
    5151        SYS_PROGRAM_SPAWN_LOADER,
    5252
     53        SYS_WAITQ_CREATE,
     54        SYS_WAITQ_SLEEP,
     55        SYS_WAITQ_WAKEUP,
    5356        SYS_FUTEX_SLEEP,
    5457        SYS_FUTEX_WAKEUP,
Note: See TracChangeset for help on using the changeset viewer.