[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] USERDEF stack size



Am 23.12.2010, 17:49 Uhr, schrieb Helmut Karlowski <helmut.karlowski@ish.de>:

vdif()
{
	short *intin;
	static short s_intin[16][2048];
	static int cnt = -1;
	cnt++;
	intin = s_inin[cnt];

	call_vdi();

	cnt--;
}

So here 16 threads would be able to use this function simultaneously.

Maybe not very safe. What about locking?

--
Helmut Karlowski