On Thu, 20 Apr 2000, Olaf Petzold wrote:

> Maybee this is the crash "resource". So I will make it module static maybee.

I am absolutely sure about it. Your stack is probably just 4096 bytes or
less.

> How can I change the stack size with the new RTL2/pthread interface? At RTL1
> this was a parameter on creating the task, if I right remember.

pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize);
and then pthread_create...

> shm_slut_t *slut;
> ...
> if((slut = vmalloc(sizeof(shm_slut_t))) == NULL) {
>       /* error */
> }
> ...
> vfree(slut);

Yes, the only way with a chance for a success :-)

Best regards,
--
Tomek

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to