1 #include "ace/Guard_T.h"
6 JAWS_FILE::JAWS_FILE ()
11 JAWS_FILE::~JAWS_FILE ()
18 JAWS_FILE::mem_map (int length
,
23 LPSECURITY_ATTRIBUTES sa
) const
25 JAWS_FILE
*mutable_this
= (JAWS_FILE
*) this;
26 return mutable_this
->mem_map (length
, prot
, share
, addr
, offset
, sa
);
30 JAWS_FILE::mem_map (int length
,
35 LPSECURITY_ATTRIBUTES sa
)
39 ACE_GUARD_RETURN (ACE_SYNCH_MUTEX
, g
,this->lock_
, 0);
43 this->map_
= new ACE_Mem_Map
;
46 int r
= this->map_
->map (this->get_handle (),
47 static_cast<size_t> (length
),
67 JAWS_FILE::map () const