~vojtech-horky/helenos/numa

« back to all changes in this revision

Viewing changes to uspace/lib/numa/include/numa.h

  • Committer: Vojtech Horky
  • Date: 2011-07-20 08:15:44 UTC
  • Revision ID: vojtechhorky@users.sourceforge.net-20110720081544-xstxd8v2jftptdt7
libnuma: add numa_get_membind() and numa_set_membind()

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (c) 2010 Vojtech Horky
 
2
 * Copyright (c) 2010-2011 Vojtech Horky
3
3
 * All rights reserved.
4
4
 *
5
5
 * Redistribution and use in source and binary forms, with or without
121
121
int numa_task_sched_getaffinity_np(task_id_t, struct bitmask *);
122
122
int numa_task_sched_setaffinity_np(task_id_t, struct bitmask *, int);
123
123
 
 
124
int numa_set_membind(struct bitmask *);
 
125
int numa_task_set_membind_np(task_id_t, struct bitmask *);
 
126
struct bitmask *numa_get_membind(void);
 
127
struct bitmask *numa_task_get_membind_np(task_id_t);
 
128
 
 
129
 
124
130
#endif
125
131
/**
126
132
 * @}