[ 
https://issues.apache.org/jira/browse/QPID-1148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608337#action_12608337
 ] 

Manuel Teira commented on QPID-1148:
------------------------------------

I've hit a related issue after changes in r671604: use flock to lock data dir 
rather than a lock file. Since the flock interface is only supported in Solaris 
as a compatibility interface, and is frightnening foolish users with 
multithread pain and sorrow, the lockf interface would be preferred, but that 
abstraction on an qpid::sys class would be even better.
Is there somebody working on this, or should I dare to implement it?



> c++ broker: need abstraction layer for flock and lockf posix calls.
> -------------------------------------------------------------------
>
>                 Key: QPID-1148
>                 URL: https://issues.apache.org/jira/browse/QPID-1148
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>
> The broker code uses posix calls lockf and flock for file locking. These 
> calls need to be moved to abstraction classes in qpid::sys so that porting 
> work (in particular to windows) can replace the implementations without 
> having to refactor top-level broker code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to