[En-Nut-Discussion] Per thread Memory Management
Ole Reinhardt
ole.reinhardt at embedded-it.de
Fri Apr 18 10:39:19 CEST 2008
Hi,
> I'm now starting to assign memory to a thread. Some really cool things
> can be done with this. Like finding memoryleaks. The option of killing
I have a little patch in my work queue that will find it's way into the
CVS at weekend. This patch enables you to have a single pointer assigned
to the currently running thread and two functions or macros to access
this pointer. You can use it to allocate a memory chunk and assign it to
the thread, use different i/o filedescriptors for different threads and
so on.
I solved this by adding a single variable to the thread struct.
Bye,
Ole
--
_____________________________________________________________
| |
| Embedded-IT Hard- und Softwarelösungen |
| |
| Ole Reinhardt Tel. / Fax: +49 (0)271 7420433 |
| Luisenstraße 29 Mobil: +49 (0)177 7420433 |
| 57076 Siegen eMail: ole.reinhardt at embedded-it.de |
| Germany Web: http://www.embedded-it.de |
| UstID / VAT: DE198944716 |
|_____________________________________________________________|
More information about the En-Nut-Discussion
mailing list