Sorry i am new to C#. I have a program, where there is a class CatchFS. The main function in the class , has the code
CatchFS fs = new CatchFS(args);
fs.Start();
Can someone tell me what it means. I hv heard of thread.start() but object.start() is new to me . Am i even thinking right ?
Thanks a lot, Yes it is derived from a class called FileSysetm.cs. The start does this : public void Start ()
{
Console.WriteLine(“start”);
Create ();
if (MultiThreaded) {
mfh_fuse_loop_mt (fusep);
}
else {
mfh_fuse_loop (fusep);
}
}
Now im trying to do a fusemount. The program starts and it hangs. there is some call that was not returned and i couldnt figure out which one. I tried using debug option of monodevelop, but no use, it runs only in my main function and I get thread started and thats it !!
I think the file FileSystem.cs is from library Mono.fuse.dll. Thanks for all your time. I hv been looking at this question for 2 whole days, and I dont seem to figureout much as to why the code wont proceed.Im expecting my azure cloud storage to be mounted in this fusemount point. My aim is after running this code I should be able to do an ls on the mountpoint to get list of contents of the cloud storage. I am also suspecting the mountpoint. Thanks a lot for providing me all your inputs.
There is no
object.Startmethod.Startmust be a method of theCatchFSclass or some base class from whichCatchFSderives.If possible, consult the documentation for the library
CatchFScomes from. That should hopefully explain whatCatchFS.Startdoes.If the documentation is sparse or nonexistent but you do have the source code, you can also simply take a look at the
CatchFS.Startmethod yourself and try to figure out what its intended behavior is.If there’s no documentation and you have no source code, you’re dealing with a black box. If you can contact the developer who wrote
CatchFS, ask him/her whatStartdoes.One final option would be to download .NET Reflector and use that to disassemble the compiled assembly from which
CatchFSis loaded. Treat this as a last resort, as code revealed by Reflector is typically less readable than the original source.