1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Fix the panic: sleeping without a mutex problem on CURRENT.

PR:		ports/101958
Submitted by:	Anish Mistry
This commit is contained in:
Maxim Sobolev 2007-01-29 18:59:51 +00:00
parent dd453ce8c0
commit c82ed4f02b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=183643
4 changed files with 24 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= zaptel
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://www.pbxpress.com/~gonzo/
DISTNAME= ${PORTNAME}-bsd-${PORTVERSION}

View File

@ -0,0 +1,11 @@
--- zaptel/zaptel.c.orig Sun Jun 25 14:21:49 2006
+++ zaptel/zaptel.c Fri Aug 11 11:56:20 2006
@@ -397,7 +397,7 @@
int schluffen(void *q)
{
- int rc = tsleep(q, PZERO | PCATCH, "schluffen", 0);
+ int rc = tsleep(q, PZERO | PCATCH, "schluffen", 10);
switch(rc)
{
case EINTR:

View File

@ -7,6 +7,7 @@
PORTNAME= zaptel
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://www.pbxpress.com/~gonzo/
DISTNAME= ${PORTNAME}-bsd-${PORTVERSION}

View File

@ -0,0 +1,11 @@
--- zaptel/zaptel.c.orig Sun Jun 25 14:21:49 2006
+++ zaptel/zaptel.c Fri Aug 11 11:56:20 2006
@@ -397,7 +397,7 @@
int schluffen(void *q)
{
- int rc = tsleep(q, PZERO | PCATCH, "schluffen", 0);
+ int rc = tsleep(q, PZERO | PCATCH, "schluffen", 10);
switch(rc)
{
case EINTR: