Skip to contentSkip to conversation

legal to call tasklet_schedule() from within schedule()?

DISCUSSION Chris Friesen 1 participant 1 message Feb 6, 2007

lore
Share & tools
lore
#0 lore raw

I'm noodling around with some way to print out error messages from within the scheduler itself. One way that I'm considering is to copy messages to a static memory buffer and then trigger a tasklet to do the actual printing. The question I had was whether it's actually legal to call tasklet_schedule() from within the schedule() function, or whether that could lead to bad things. Can anyone give me a definitive statement on this?

Does anyone have any other suggestions on the best way to do this?

Thanks,

Chris