/*static char *SCCSID = "@(#)lwwakeup.c	6.2 92/01/31";*/
/***	lwwakeup.c - wakeup lazy write daemon
 */

#define INCL_DOSINFOSEG
#include <os2.h>
#include <fsh.h>

#include "const.h"
#include "chain.h"
#include "misc.h"
#include "buf.h"
#include "dir.h"
#include "volume.h"
#include "storage.h"
#include "tables.h"
#include "superb.h"
#include "pb_ifs.h"
#include "pbmacros.h"
#include "lw.h"
#include "frame.h"
#include "fsdata.h"
#include "strat2.h"
#include "asyncio.h"
#include "pr_LAZY.h"
#include "pr_DEBUG.h"

/*
 ***	LWWakeUp - wake up lazy write thread
 *
 *	LWWakeUp is called when the cache first gets dirty.  This will allow
 *	the lazy write thread to ascertain the correct sleep time until lazy
 *	flushing needs to occur.
 *
 *	ENTRY	Global LWSem contains 16:16 address of ramsem
 *
 *	EXIT	Yields
 */

void
LWWakeUp (PFRAME pfrm)
{
    MAYBLOCK (FSH_SEMCLEAR (&semLW))
}
