This commit is contained in:
jl777
2016-10-27 10:42:43 -03:00
parent e8548bcb43
commit 4b13149d79
3 changed files with 2 additions and 4 deletions

View File

@@ -1145,7 +1145,6 @@ void *mycalloc(uint8_t type,int32_t n,long itemsize)
}
while ( (item= (struct allocitem *)calloc(1,sizeof(struct allocitem) + allocsize + 16)) == 0 )
{
char str[65];
printf("mycalloc.%c: need to wait for memory.(%d,%ld) to be available\n",type,n,itemsize);
sleep(10);
}
@@ -1273,7 +1272,6 @@ void *queueitem(char *str)
allocsize = (uint32_t)(sizeof(struct queueitem) + n);
while ( (item= (struct queueitem *)calloc(1,allocsize)) == 0 )
{
char str[65];
printf("queueitem: need to wait for memory.(%d,%ld) to be available\n",n,(long)sizeof(*item));
sleep(10);
}