GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Chris Siebenmann (cks@mastodon.social)'s status on Thursday, 04-Dec-2025 11:26:47 JSTChris SiebenmannChris Siebenmann
    in reply to
    • ✧✦Catherine✦✧

    @whitequark I'm possibly a bit confused. A flock() lock is automatically released when the last copy of its file descriptor (its 'open file', the shared-over-dup/fork underlying fds) is closed. If you flock() and close the lock is gone.

    If you do two open()s of the same file in the same process, flock() one (holding the fd open), and then try to flock() the other, AFAIK the second flock() will block, just as it would in a separate process. But I'd test it to be sure.

    In conversationabout 7 months ago from mastodon.socialpermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.