[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeipmi-users
Subject:    Re: [Freeipmi-users] using ipmi contexts with pthreads
From:       Albert Chu <chu11 () llnl ! gov>
Date:       2019-05-13 16:52:33
Message-ID: fcb7b789025d4c63de42d63ff80da078a64bafc2.camel () llnl ! gov
[Download RAW message or body]

Hi Julita,

I would create 1 ipmi context per pthread.  Internally, each ipmi
context does its own requests & responses back and forth with the BMC. 
If they are shared between threads, there could be problems.

Al

On Mon, 2019-05-13 at 12:00 +0200, Julita Corbalan wrote:
> Hi
> 
> I'm using freeipmi version 16 to read node energy using inband raw
> commands. I ‘m using the same impi contexts in two pthreads. I have
> seen in some example the same context cannot be used by two threads
> but I haven't seen that in the documentation. Is it possible to use
> the same ipmi context between two pthreads??? 
> 
> Regards
> Julita Corbalan
> 
> Julita Corbalan
> Barcelona Supercomputing Center
> Collaborator researcher
> Computer Science Department 
> 
> mail: julita.corbalan@bsc.es
> skype: julitacorbalan
> +34 93 401 5956
> 
> 
> 
> 
> 
> 
> http://bsc.es/disclaimer
> 
> _______________________________________________
> Freeipmi-users mailing list
> Freeipmi-users@gnu.org
> https://lists.gnu.org/mailman/listinfo/freeipmi-users
-- 
Albert Chu
chu11@llnl.gov
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory



_______________________________________________
Freeipmi-users mailing list
Freeipmi-users@gnu.org
https://lists.gnu.org/mailman/listinfo/freeipmi-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic