Skip to content

Conversation

@YadongQi
Copy link

@YadongQi YadongQi commented Mar 16, 2022

  1. Get a file descriptor for the file to be locked
  2. Try to acquire the lock by flock, if acquired, then pause_civ
  3. Close file descriptor and the file lock will be released automatically.

Signed-off-by: Yadong Qi yadong.qi@intel.com

1. Get a file descriptor for the file to be locked
2. Try to acquire the lock by flock, if acquired, then pause_civ
3. Close file descriptor and the file lock will be released automatically.

Signed-off-by: Yadong Qi <yadong.qi@intel.com>
/opt/lg/bin/LG_B1_Client_clipboard guestClipboard:enable=true &

flock -n -x /var/lock/civ_startapp.lock pause_civ ||
exec {CIV_STARTAPP_LOCK_FD}</var/lock/civ_startapp.lock
Copy link
Contributor

@xihua-chen xihua-chen Mar 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sleep 20
touch /var/lock/civ_startapp.lock

added two lines above L68 in customer's releaes

/opt/lg/bin/LG_B1_Client_clipboard guestClipboard:enable=true &

flock -n -x /var/lock/civ_startapp.lock pause_civ ||
exec {CIV_STARTAPP_LOCK_FD}</var/lock/civ_startapp.lock
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sleep 20
touch /var/lock/civ_startapp.lock

add two lines above L68 in customer's release

@sysopenci sysopenci added the Stale Stale label for inactive open prs label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Stale Stale label for inactive open prs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants