Blame src/thread/nt32/__set_thread_area.c

296178
#include <errno.h>
296178
#include "pthread_impl.h"
296178
296178
int __set_thread_area(void * p)
296178
{
296178
	struct pthread ** ptlca;
296178
296178
	ptlca = __psx_tlca();
296178
	if (!ptlca) return -ESRCH;
296178
296178
	*ptlca = p;
296178
	return 0;
296178
}