1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:17:35 +00:00

The syncd loop can just be a lambda.

This commit is contained in:
Andreas Kling 2018-12-24 23:10:48 +01:00
parent 503e32552c
commit 033a42b580
5 changed files with 10 additions and 18 deletions

View file

@ -35,7 +35,7 @@ struct SignalActionData {
class Process : public InlineLinkedListNode<Process> {
friend class InlineLinkedListNode<Process>;
public:
static Process* create_kernel_process(void (*entry)(), String&& name);
static Process* create_kernel_process(String&& name, void (*entry)());
static Process* create_user_process(const String& path, uid_t, gid_t, pid_t ppid, int& error, Vector<String>&& arguments = Vector<String>(), Vector<String>&& environment = Vector<String>(), TTY* = nullptr);
~Process();