lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] Adding attributes to sys_thread_new()


From: Bill Florac
Subject: [lwip-devel] Adding attributes to sys_thread_new()
Date: Tue, 21 Aug 2007 09:26:33 -0500

I would like to propose that we amend the sys_thread_new() function to two additional arguments.

char *task_name // task name (VOID if not used)
int task_stack_size        // suggested task stack size.  0 = not specified

I know this is a core function and I suppose it may break a lot of existing implementations but I think it helps keep the code separated between the IP stack and the application.  Currently, I have to keep tack of calls and call order to make sure I have the correct stack allotment for each call.  This make the sys_arch.c dependent on the application.  I know I can use the arg argument, but currently, I used this to pass on arguments to the OS.

This may be the wrong time for this as it seems we are cleaning up for a 1.3 release but I wanted to get a feeling of what others thought.

Bill Florac
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]