summaryrefslogtreecommitdiffhomepage
path: root/src/arch/nt32/crt_pe.c
blob: 3024bbf6196d80ac255fa7737ffdfaeb4175d454 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/**************************************************************************/
/*  mmglue: midipix architecture- and target-specific bits for musl libc  */
/*  Copyright (C) 2013--2023  SysDeer Technologies, LLC                   */
/*  Released under the Standard MIT License; see COPYING.MMGLUE.          */
/**************************************************************************/

#include "pthread_impl.h"
#include <threads.h>

void * __pthread_getspecific_impl(pthread_key_t k)
{
	return (__pthread_self())->tsd[k];
}