Scheduling without Timeslice...
Joel Sherrill
joel.sherrill at OARcorp.com
Tue Dec 2 11:58:57 UTC 2003
Cedric Aubert wrote:
>>No. You are right.
>>
>>This is an old configuration hack to be able to
>>
>>
>dynamically turn
>
>
>>libc reentrancy on and off. I doubt that this is
>>
>>
>useful anymore
>
>
>>and probably should be killed. It is better to just
>>
>>
>always have
>
>
>>reentrancy on.
>>
>>If we want the ability to turn it off without
>>
>>
>recompiling the
>
>
>>BSP, then there should be another mechanism.
>>
>>
>>
>
>So, should I made a patch to remove this feature ? and
>force libc to be reentrant ?
>
>
>
Feel free to do so. I filed a PR on it so we can attach it to that.
>>>> void bsp_libc_init(...)
>>>> {
>>>> ...
>>>> if ( BSP_Configuration.ticks_per_timeslice
>>>>
>>>>
>>0 )
>>
>>
>>>> libc_init(1); /*
>>>>
>>>>
>reentrant if
>
>
>>>>possible */
>>>> else
>>>> libc_init(0); /*
>>>>
>>>>
>non-reentrant
>
>
>>>>*/
>>>> }
>>>>
>>>>
>
>
>__________________________________
>Do you Yahoo!?
>Free Pop-Up Blocker - Get it now
>http://companion.yahoo.com/
>
>
More information about the users
mailing list