summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_evas/ecore_evas_extn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_extn.c b/src/lib/ecore_evas/ecore_evas_extn.c
index 2e1dac5cf8..61840723c7 100644
--- a/src/lib/ecore_evas/ecore_evas_extn.c
+++ b/src/lib/ecore_evas/ecore_evas_extn.c
@@ -442,7 +442,7 @@ _ecore_evas_socket_lock(Ecore_Evas *ee)
442 if (extn->file.have_lock) return; 442 if (extn->file.have_lock) return;
443 extn->file.have_lock = EINA_TRUE; 443 extn->file.have_lock = EINA_TRUE;
444 if (_ecore_evas_lock_other_have(ee)) return; 444 if (_ecore_evas_lock_other_have(ee)) return;
445 flock(extn->file.lockfd, LOCK_EX); 445 lockf(extn->file.lockfd, F_ULOCK, 0);
446 extn->file.have_real_lock = EINA_TRUE; 446 extn->file.have_real_lock = EINA_TRUE;
447} 447}
448 448
@@ -457,7 +457,7 @@ _ecore_evas_socket_unlock(Ecore_Evas *ee)
457 if (!extn->file.have_lock) return; 457 if (!extn->file.have_lock) return;
458 extn->file.have_lock = EINA_FALSE; 458 extn->file.have_lock = EINA_FALSE;
459 if (!extn->file.have_real_lock) return; 459 if (!extn->file.have_real_lock) return;
460 flock(extn->file.lockfd, LOCK_UN); 460 lockf(extn->file.lockfd, F_ULOCK, 0);
461} 461}
462 462
463static void 463static void