Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / January 2008

Tip: Looking for answers? Try searching our database.

Native event handle

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jo - 22 Jan 2008 19:29 GMT
Hi all,

I have a mutli-threaded managed app written in C#, from ProcessExplorer, it
shows many event handles without
name. It also shows as 'handle leak' through windows task manager.

I am using v1.1 .NET framework.

Can any one tell me in .NET, which class/method can create native event
handle?

TIA,

JoeZ
Vadym Stetsiak - 23 Jan 2008 08:23 GMT
Hello, Jo!

Does your app interact somehow with unmanaged world? Does it create
AutoResetEvents or ManualResetEvent instances?
Does it use file I/O.

Give more background on what your application is doing, then it will be
possible to give more concrete answer.

--
With best regards, Vadym Stetsiak.
Blog: http://vadmyst.blogspot.com

You wrote  on Tue, 22 Jan 2008 14:29:29 -0500:

J> Hi all,

J> I have a mutli-threaded managed app written in C#, from
J> ProcessExplorer, it  shows many event handles without name. It also
J> shows as 'handle leak' through windows task manager.

J> I am using v1.1 .NET framework.

J> Can any one tell me in .NET, which class/method can create native
J> event  handle?

J> TIA,

J> JoeZ
Jo - 23 Jan 2008 19:09 GMT
Yes, it interacts with the unmanaged world, it also uses file I/O.
I have pretty good control of unmanaged world and file I/O.

The part I am not very familiar is the managed world, back to my question,
which class/method can create native event handle?

TIA for any clue!

> Hello, Jo!
>
[quoted text clipped - 25 lines]
>
> J> JoeZ
Vadym Stetsiak - 23 Jan 2008 21:35 GMT
Hello, Jo!

Classes in .NET Framework that can create handles:

FileStream,
AutoResetEvent,
ManualResetEvent,
Semaphore,
Socket,
Thread,

The list above doesn't pretent to be complete :)

HTH

--
With best regards, Vadym Stetsiak.
Blog: http://vadmyst.blogspot.com

You wrote  on Wed, 23 Jan 2008 14:09:11 -0500:

J> Yes, it interacts with the unmanaged world, it also uses file I/O.
J> I have pretty good control of unmanaged world and file I/O.

J> The part I am not very familiar is the managed world, back to my
J> question, which class/method can create native event handle?

J> TIA for any clue!

J> "Vadym Stetsiak" <vadmyst@gmail.com> wrote in message
J> news:uq3iYhZXIHA.3940@TK2MSFTNGP05.phx.gbl...
>> Hello, Jo!

>> Does your app interact somehow with unmanaged world? Does it create
>> AutoResetEvents or ManualResetEvent instances?
>> Does it use file I/O.

>> Give more background on what your application is doing, then it will
>> be  possible to give more concrete answer.

>> --
>> With best regards, Vadym Stetsiak.
>> Blog: http://vadmyst.blogspot.com

>> You wrote  on Tue, 22 Jan 2008 14:29:29 -0500:

J>>> Hi all,

J>>> I have a mutli-threaded managed app written in C#, from
J>>> ProcessExplorer, it  shows many event handles without name. It also
J>>> shows as 'handle leak' through windows task manager.

J>>> I am using v1.1 .NET framework.

J>>> Can any one tell me in .NET, which class/method can create native
J>>> event  handle?

J>>> TIA,

J>>> JoeZ

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.