diff options
author | Anton Kling <anton@kling.gg> | 2024-12-11 18:47:33 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-12-12 15:48:20 +0100 |
commit | 633feeea57c298306d8664c9c2768ab46fb7c6f4 (patch) | |
tree | d91cd1c19d3e850b978c7ada526246e3b35e6608 /kernel/queue.c | |
parent | bc828883c51c3c0f35872019f4db632e4ce82dc5 (diff) |
signal: Remove old way of sending signals and instead use procfs
Diffstat (limited to 'kernel/queue.c')
-rw-r--r-- | kernel/queue.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/kernel/queue.c b/kernel/queue.c index e1b2943..7aa9a56 100644 --- a/kernel/queue.c +++ b/kernel/queue.c @@ -73,11 +73,10 @@ int queue_create(void) { relist_init(&list->entries); list->process = current_task; - vfs_inode_t *inode = - vfs_create_inode(0, 0, queue_has_data, NULL, 1 /*is_open*/, OBJECT_QUEUE, - list /*internal_object*/, 0, NULL, NULL, NULL, NULL, - queue_close, NULL, NULL /*get_vm_object*/, NULL, NULL, - NULL /*send_signal*/, NULL /*connect*/); + vfs_inode_t *inode = vfs_create_inode( + 0, 0, queue_has_data, NULL, 1 /*is_open*/, OBJECT_QUEUE, + list /*internal_object*/, 0, NULL, NULL, NULL, NULL, queue_close, NULL, + NULL /*get_vm_object*/, NULL, NULL, NULL /*connect*/); assert(inode); return vfs_create_fd(0, 0, 0, inode, NULL); } |