Commit b61c1b31 authored by scott's avatar scott
Browse files

Hid some of mkj's tile preswapin stuff because it doesn't like the rest of us.

parent d2e6afe0
Sun Jul 12 23:56:35 1998 Scott Goehring <scott@poverty.bloomington.in.us>
* app/tile_swap.c: #if 0'd some of mkj's last commit because it's
busted.
Sun Jul 12 19:00:15 EDT 1998 Michael K. Johnson <johnsonm@redhat.com>
* app/tile_swap.c
......
......@@ -279,7 +279,9 @@ tile_swap_init ()
(GCompareFunc) tile_swap_compare);
#ifdef USE_PTHREADS
#if 0
pthread_create (&swapin_thread, NULL, &tile_swap_in_thread, NULL);
#endif
#endif
}
}
......@@ -406,7 +408,8 @@ tile_swap_default_in_async (DefSwapFile *def_swap_file,
int fd,
Tile *tile)
{
#ifdef HAVE_POSIX_THREADS
#if 0 /* disable -- broken */
#ifdef USE_PTHREADS
AsyncSwapArgs *args;
args = g_new(AsyncSwapArgs, 1);
......@@ -431,6 +434,7 @@ tile_swap_default_in_async (DefSwapFile *def_swap_file,
/* this could be changed to call out to another program that
* tries to make the OS read the data in from disk.
*/
#endif
#endif
return;
......@@ -812,11 +816,12 @@ out:
TILE_MUTEX_UNLOCK (tile);
}
#if 0
static void *
tile_swap_in_thread (void *data)
{
AsyncSwapArgs *args;
GSList free_item;
GSList *free_item;
while (1)
{
......@@ -842,3 +847,4 @@ tile_swap_in_thread (void *data)
}
}
#endif
#endif
......@@ -279,7 +279,9 @@ tile_swap_init ()
(GCompareFunc) tile_swap_compare);
#ifdef USE_PTHREADS
#if 0
pthread_create (&swapin_thread, NULL, &tile_swap_in_thread, NULL);
#endif
#endif
}
}
......@@ -406,7 +408,8 @@ tile_swap_default_in_async (DefSwapFile *def_swap_file,
int fd,
Tile *tile)
{
#ifdef HAVE_POSIX_THREADS
#if 0 /* disable -- broken */
#ifdef USE_PTHREADS
AsyncSwapArgs *args;
args = g_new(AsyncSwapArgs, 1);
......@@ -431,6 +434,7 @@ tile_swap_default_in_async (DefSwapFile *def_swap_file,
/* this could be changed to call out to another program that
* tries to make the OS read the data in from disk.
*/
#endif
#endif
return;
......@@ -812,11 +816,12 @@ out:
TILE_MUTEX_UNLOCK (tile);
}
#if 0
static void *
tile_swap_in_thread (void *data)
{
AsyncSwapArgs *args;
GSList free_item;
GSList *free_item;
while (1)
{
......@@ -842,3 +847,4 @@ tile_swap_in_thread (void *data)
}
}
#endif
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment