>   pthread_make_periodic_np((pthread_t)s_Tasks[iTask].sysInfo.ulHandle, 
> gethrtime(), period);
>   pthread_attr_destroy(&attr);
> 
>   printk(KERN_INFO "SysTaskCreate: TaskName = %s, TaskNr = %d, 
> TaskHandle = %ld\n", szTaskName, iTask, s_Tasks[iTask].sysInfo.ulHandle);
>

I don't realy understand if you are trying to execute this on the non-rt side
that is in init_module or within a realtime thread . in any case you are 
mixing rt and non-rt API - you can't call printk in a rt-thread and you can't
call pthread_make_periodic_np in non-rt (init_module) . So I guess your prblem
is that there is a mixup of what function may be called in what context.

could you post the full source .

hofrat
-- [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/

Reply via email to