- memory allocation now works with allocator-functions...

This commit is contained in:
Jan Hutter
2005-11-09 09:35:06 +00:00
parent 7953866962
commit 6c4b815f22
25 changed files with 57 additions and 37 deletions
+2 -1
View File
@@ -28,6 +28,7 @@
#include <pthread.h>
#include <unistd.h>
#include "../allocator.h"
#include "job_queue_test.h"
#include "../tester.h"
#include "../job_queue.h"
@@ -63,7 +64,7 @@ static void test_job_queue_sender(job_queue_test_t * testinfo)
int i;
for (i = 0; i < testinfo->insert_item_count; i++)
{
int *value = allocator_alloc_thing(int,"int in test_job_queue_sender");
int *value = allocator_alloc_thing(int);
*value = i;
job_t *job = job_create(INCOMING_PACKET,value);
testinfo->job_queue->add(testinfo->job_queue,job);