Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Feb 2004 20:44:17 -0800 (PST)
From:      Bill Paul <wpaul@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/compat/ndis subr_ndis.c
Message-ID:  <200402040444.i144iHHQ049837@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
wpaul       2004/02/03 20:44:17 PST

  FreeBSD src repository

  Modified files:
    sys/compat/ndis      subr_ndis.c 
  Log:
  Correct/improve the implementation of NdisMAllocateSharedMemoryAsync().
  Since we have a worker thread now, we can actually do the allocation
  asynchronously in that thread's context. Also, we need to return a
  status value: if we're unable to queue up the async allocation, we
  return NDIS_STATUS_FAILURE, otherwise we return NDIS_STATUS_PENDING
  to indicate the allocation has been queued and will occur later.
  
  This replaces the kludge where we just invoked the callback routine
  right away in the current context.
  
  Revision  Changes    Path
  1.42      +50 -13    src/sys/compat/ndis/subr_ndis.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402040444.i144iHHQ049837>