Blame src/thread/nt64/__set_thread_area.c

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