Rockbox mail archiveSubject: Re: file IO in a plugin thread [SEC=UNCLASSIFIED]
Re: file IO in a plugin thread [SEC=UNCLASSIFIED]
From: Thomas Martitz <thomas.martitz_at_student.htw-berlin.de>
Date: Thu, 29 Apr 2010 08:01:32 +0200
Am 29.04.2010 01:33, schrieb Lees, Christian:
> Is it possible to do file IO from a thread in a plugin. My thread
> code works fine but it crashes with a "*PANIC* Stkov file write thread
> (0)". I have tested the code by removing the rb->open line and the
> rest of the thread and message queue behaves itself. The code is
> running on an Iriver H10, rockbox 3.5.1.
> Any help will be appreciated.
Should be possible. Stkov means stack overflow so it's probably means
that you've designed your stack too small. How big is it? I'd think 1kB
should be sufficient.
Received on 2010-04-29