Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ libqthread_la_SOURCES = \
touch.c \
teams.c

EXTRA_DIST = alloc/
EXTRA_DIST =

if COMPILE_LF_HASH
libqthread_la_SOURCES += lf_hashmap.c
Expand Down Expand Up @@ -106,6 +106,8 @@ EXTRA_DIST += \
barrier/array.c \
barrier/log.c \
barrier/sinc.c \
alloc/base.c \
alloc/chapel.c \
affinity/common.c \
affinity/hwloc.c \
affinity/binders.c \
Expand Down
2 changes: 2 additions & 0 deletions src/alloc/chapel.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ static QINLINE int getpagesize()
}
#endif

#include <qthread/qthread-int.h> /* for uint_fast16_t */

#include "chpl-mem-impl.h"

void *qt_malloc(size_t size){
Expand Down
4 changes: 2 additions & 2 deletions src/qthread.c
Original file line number Diff line number Diff line change
Expand Up @@ -1881,15 +1881,15 @@ unsigned API_FUNC qthread_size_tasklocal(void)
return f->rdata->tasklocal_size ? f->rdata->tasklocal_size : qlib->qthread_tasklocal_size;
} /*}}}*/

void* API_FUNC qthread_tos(void)
API_FUNC void* qthread_tos(void)
{
const qthread_t *f = qthread_internal_self();

return f->rdata->stack;
}


void* API_FUNC qthread_bos(void)
API_FUNC void* qthread_bos(void)
{
const qthread_t *f = qthread_internal_self();

Expand Down