This commit is contained in:
Jack Halford 2017-10-23 19:42:30 +02:00
parent 931cdbe9e5
commit a28c11d35a
6 changed files with 6 additions and 7 deletions

View file

@ -6,7 +6,7 @@
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */ /* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2017/02/17 12:28:03 by jhalford #+# #+# */ /* Created: 2017/02/17 12:28:03 by jhalford #+# #+# */
/* Updated: 2017/10/22 17:32:14 by jhalford ### ########.fr */ /* Updated: 2017/10/23 19:32:20 by jhalford ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */

View file

@ -6,7 +6,7 @@
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */ /* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2017/10/22 13:25:32 by jhalford #+# #+# */ /* Created: 2017/10/22 13:25:32 by jhalford #+# #+# */
/* Updated: 2017/10/22 17:34:54 by jhalford ### ########.fr */ /* Updated: 2017/10/23 19:41:14 by jhalford ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -18,7 +18,7 @@ t_chunk *g_zones[M_ZONES_MAX] =
NULL, NULL,
NULL, NULL,
}; };
int g_malloc_debug = 0; int g_malloc_debug = 1;
pthread_mutex_t g_mutex = PTHREAD_MUTEX_INITIALIZER; pthread_mutex_t g_mutex = PTHREAD_MUTEX_INITIALIZER;
void *malloc(size_t size) void *malloc(size_t size)

View file

@ -6,7 +6,7 @@
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */ /* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2017/10/22 17:32:51 by jhalford #+# #+# */ /* Created: 2017/10/22 17:32:51 by jhalford #+# #+# */
/* Updated: 2017/10/22 18:45:28 by jhalford ### ########.fr */ /* Updated: 2017/10/23 19:40:43 by jhalford ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */

View file

@ -6,7 +6,7 @@
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */ /* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2017/02/17 12:28:02 by jhalford #+# #+# */ /* Created: 2017/02/17 12:28:02 by jhalford #+# #+# */
/* Updated: 2017/10/22 18:45:48 by jhalford ### ########.fr */ /* Updated: 2017/10/23 19:41:03 by jhalford ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */

View file

@ -6,7 +6,7 @@
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */ /* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2017/02/17 12:28:20 by jhalford #+# #+# */ /* Created: 2017/02/17 12:28:20 by jhalford #+# #+# */
/* Updated: 2017/10/22 13:37:38 by jhalford ### ########.fr */ /* Updated: 2017/10/23 19:42:14 by jhalford ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */

View file

@ -7,7 +7,6 @@ int main(void)
char *addr; char *addr;
i = 0; i = 0;
printf("check");
while (i < 1024) while (i < 1024)
{ {
i++; i++;