<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hello, I&#39;m working through using libgfapi and am curious about the number of background threads started.  I have a simple cluster with four bricks on four peers.  On my client machine I run a program that does this:<br>
<br></div>glfs_new()<br></div>glfs_set_volfile_server()<br></div>glfs_set_logging()<br></div>glfs_init()<br>pause()<br></div>glfs_fini()<br></div>pause()<br><br></div>At the first pause, right after glfs_init, there are four child threads created.  Is it a coincidence that the api creates the same number of threads as cluster peers?  I&#39;d hate to think that if I had a thousand peers I&#39;d have a thousand threads.<br>
<br>Second, the threads don&#39;t shut down after the call to glfs_fini().<br><br>Can anyone shed some light on what&#39;s going on?<br><br></div>Thanks,<br><br></div>-Kelly<br></div>