fcntl(.., F_SETLK, ..) replacement possible ?

JunBeom Kim jbkim at e-coretech.kr
Fri Mar 29 14:39:04 UTC 2019


Dear Sir,

 

As I know from fcntl.c of cpukit part, fcntl() did not support F_GETLK,
F_SETLK, F_SETLKW, F_SETOWN, F_GETOWN.

 

When I test sqlite3 code on RTEMS, there is file locking problem due to
non-implementation of F_SETLK option.

 

I guess that because RTEMS is not process OS model with virtual memory
and/or shared memory, these features don't need for RTEMS thread model.

 

I am finding alternative replacement method for fcntl(., F_SETLK, .).

 

If there is hint for this, please let me know that.

 

Best Regards,

JunBeom Kim

~~~~~~~~~~~~~~~~~~~~~~

President / EmbedCoreTech

Phone: +82-31-396-5584

Fax: +82-504-065-5720

Mobile:+82-10-6425-5720

Email:  <mailto:jbkim at e-coretech.kr> jbkim at e-coretech.kr 

Web:  <http://www.e-coretech.kr> www.e-coretech.kr 

~~~~~~~~~~~~~~~~~~~~~~

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20190329/f5085d34/attachment-0001.html>


More information about the users mailing list