Skip to content

Commit 797d707

Browse files
aldrik-ramaekersSiegeLord
authored andcommitted
renamed _al_thread_with_stacksize_create to _al_thread_create_with_stacksize
1 parent 224e3e9 commit 797d707

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

include/allegro5/internal/aintern_thread.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ typedef struct _AL_COND _AL_COND;
1414

1515

1616
void _al_thread_create(_AL_THREAD*, void (*proc)(_AL_THREAD*, void*), void *arg);
17-
void _al_thread_with_stacksize_create(_AL_THREAD*, void (*proc)(_AL_THREAD*, void*), void *arg, size_t stacksize);
17+
void _al_thread_create_with_stacksize(_AL_THREAD*, void (*proc)(_AL_THREAD*, void*), void *arg, size_t stacksize);
1818
void _al_thread_set_should_stop(_AL_THREAD *);
1919
/* static inline bool _al_get_thread_should_stop(_AL_THREAD *); */
2020
void _al_thread_join(_AL_THREAD*);

src/sdl/sdl_thread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ void _al_thread_create(_AL_THREAD *thread, void (*proc)(_AL_THREAD*, void*),
2121
thread->thread = SDL_CreateThread(thread_trampoline, "allegro", thread);
2222
}
2323

24-
void _al_thread_with_stacksize_create(_AL_THREAD *thread, void (*proc)(_AL_THREAD*, void*),
24+
void _al_thread_create_with_stacksize(_AL_THREAD *thread, void (*proc)(_AL_THREAD*, void*),
2525
void *arg, size_t stacksize)
2626
{
2727
ASSERT(thread);

src/threads.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ ALLEGRO_THREAD *al_create_thread_with_stacksize(
137137
_al_cond_init(&outer->cond);
138138
outer->arg = arg;
139139
outer->proc = proc;
140-
_al_thread_with_stacksize_create(&outer->thread, thread_func_trampoline, outer, stacksize);
140+
_al_thread_create_with_stacksize(&outer->thread, thread_func_trampoline, outer, stacksize);
141141
/* XXX _al_thread_create should return an error code */
142142
return outer;
143143
}

src/unix/uxthread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ void _al_thread_create(_AL_THREAD *thread, void (*proc)(_AL_THREAD*, void*), voi
7070
}
7171

7272

73-
void _al_thread_with_stacksize_create(_AL_THREAD* thread, void (*proc)(_AL_THREAD*, void*), void *arg, size_t stacksize)
73+
void _al_thread_create_with_stacksize(_AL_THREAD* thread, void (*proc)(_AL_THREAD*, void*), void *arg, size_t stacksize)
7474
{
7575
ASSERT(stacksize >= PTHREAD_STACK_MIN);
7676
ASSERT(thread);

src/win/wxthread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void _al_thread_create(_AL_THREAD *thread, void (*proc)(_AL_THREAD*, void*), voi
5757
}
5858

5959

60-
void _al_thread_with_stacksize_create(_AL_THREAD* thread, void (*proc)(_AL_THREAD*, void*), void *arg, size_t stacksize)
60+
void _al_thread_create_with_stacksize(_AL_THREAD* thread, void (*proc)(_AL_THREAD*, void*), void *arg, size_t stacksize)
6161
{
6262
ASSERT(thread);
6363
ASSERT(proc);

0 commit comments

Comments
 (0)