/[hurd]/hurd/libdiskfs/sync-interval.c
ViewVC logotype

Diff of /hurd/libdiskfs/sync-interval.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by roland, Sat Oct 23 18:09:28 1999 UTC revision 1.11 by roland, Wed May 8 09:56:59 2002 UTC
# Line 1  Line 1 
1  /* Support for periodic syncing  /* Support for periodic syncing
2    
3     Copyright (C) 1995, 96, 99 Free Software Foundation, Inc.     Copyright (C) 1995,96,99,2002 Free Software Foundation, Inc.
4       Written by Miles Bader <miles@gnu.org>
    Written by Miles Bader <miles@gnu.ai.mit.edu>  
5    
6     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
7     modify it under the terms of the GNU General Public License as     modify it under the terms of the GNU General Public License as
# Line 68  diskfs_set_sync_interval (int interval) Line 67  diskfs_set_sync_interval (int interval)
67    else    else
68      {      {
69        periodic_sync_thread =        periodic_sync_thread =
70          cthread_fork ((cthread_fn_t)periodic_sync, (any_t)interval);          cthread_fork ((cthread_fn_t)periodic_sync, (any_t)(intptr_t)interval);
71        if (periodic_sync_thread)        if (periodic_sync_thread)
72          cthread_detach (periodic_sync_thread);          cthread_detach (periodic_sync_thread);
73        else        else

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26