/developer/
In particular (recording and playback with low latency):
http://manuals.opensound.com/developer/fulldup.c.htm
Barring implementation differences, this should all apply to FreeBSD.
To get really low delays you should probably adjust the hw.snd.latency
sysctls.
Regards,
Pieter de Goeje
On Thursday 14 June 2012 06:48:14 Wojciech Puchar wrote:
file to take 900MB or... can i call some system function to punch
holes?
I think you can only truncate the file at this time, pretty much like
brk() works for memory.
BAD. suppose i keep windoze VM image on filesystem which
On Friday, August 19, 2011 12:15:30 PM Tom Evans wrote:
On Thu, Aug 18, 2011 at 6:50 PM, Yuri y...@rawbw.com wrote:
Some latest hard drives have logical sectors of 512 byte when they
actually have 4k physical sectors. Here is the document describing what
to do in such case:
On Tuesday 16 August 2011 14:09:32 Matt Burke wrote:
I'm trying to setup a box to do automated FreeBSD builds for other hosts
from multiple source trees.
I have a couple of source trees mounted - for legibility's sake let's say
/build/stable and /build/current. I also have a few obj dirs for
this code from FreeBSD's OpenJDK6 port:
#if __FreeBSD_version 900030
return pthread_getthreadid_np();
#else
long tid;
thr_self(tid);
return (pid_t)tid;
#endif
The underlying type of a tid (lwpid_t in kernel) is an int.
--
Pieter de Goeje
On Monday 28 February 2011 16:08:32 Yuri wrote:
On 28.02.11 2:41, Pieter de Goeje wrote:
pthread_cond_signal() can indeed wake up more than one thread. That's why
you should always wrap pthread_cond_wait() in a loop. For example a
blocking
queue could be implemented like this (pseudo
);
}
pthread_cond_signal() itself never blocks.
Hope this helps.
--
Pieter de Goeje
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr
On Monday 12 July 2010 22:25:25 Sergey Babkin wrote:
Pieter de Goeje wrote:
On Saturday 10 July 2010 14:05:29 Sergey Babkin wrote:
Hi guys,
I've got this idea, and I wonder if anyone has done it already,
and if not then why. The idea is to put the TCP logic over UDP.
I've
that most applications can either use TCP directly with or without
tuning or they have such specialized needs that a custom protocol is the only
solution.
Regards,
Pieter de Goeje
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org
On Friday 23 April 2010 17:40:12 Joerg Sonnenberger wrote:
On Fri, Apr 23, 2010 at 06:18:46PM +0300, Eitan Adler wrote:
- use a matrix is faster than use a linked list?
For what?
For insertion and deletion no - linked list is faster. For sequential
access they are the same speed
On Monday 15 March 2010 04:33:04 Havacci wrote:
How I can drop cache memory of my FreeBSD ? I search a lot about this
and don't find anything.
In Linux i usualy use this command:
sync; echo 3 /proc/sys/vm/drop_caches
Something comparable can be achieved by unmounting and remounting the test
this:
pthread_mutex_lock(m);
add_work(w);
pthread_cond_signal(c);
pthread_mutex_unlock(m);
- Pieter de Goeje
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr
On Wednesday 06 January 2010 22:49:44 shrivatsan wrote:
Hi,
I have configured a malloc-backed memory disk, and I mount the device on to
the file system. I write some data onto the file system. I see that the
free memory indicated by kmem_map_free goes down, and this is proportional
to the
sem;
for(;;) { sem_init(sem, 0, 0);}
return 0;
}
--
Pieter de Goeje
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr
that of ACPI-fast.
Regards,
Pieter de Goeje
- 8 - clock_gettime.c - 8 --
#include sys/time.h
#include stdio.h
#include time.h
#define COUNT 100
int main() {
struct timespec ts_start, ts_stop, ts_read;
double time;
int i;
clock_gettime
no knowledge whatsoever of the filesystems
on top of it.
--
Pieter de Goeje
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org
), after I added the following
parameters to newfs(8): -b 65536 -f 8192. This increases the block and
fragment size by a factor of 4 over the the defaults.
Also, you use dd with a small blocksize. Try 64k or 128k instead.
- Pieter de Goeje
___
freebsd
)
Thanks,
-ip
Perhaps you mean lockf(3) ?
--
Pieter de Goeje
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]
. The net effect is the same of using select but the
syntax is simpler, IMO.
I think poll(2) is also simpler than select for this purpose.
--
Pieter de Goeje
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd
not found
cought broken pipe
i: 12 could only wrote -1 bytes. total wrote: 61440
$ ./a.out |asdf
$ asdf: command not found
cought broken pipe
i: 0 could only wrote -1 bytes. total wrote: 0
--
Pieter de Goeje
___
freebsd-hackers@freebsd.org
think you still want to remove some modules by hand, for example snd_driver.
--
Pieter de Goeje
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]
On Monday 24 September 2007, sam wrote:
Hi
# su hlds -c ktrace -i ./hlds_run -game cstrike +ip 0.0.0.0 +port 27015
+map de_dust -debug
Auto detecting CPU
Using Pentium II Optimised binary.
Enabling debug mode
Auto-restarting the server on crash
Console initialized.
scandir
On Wednesday 22 August 2007, Roman Divacky wrote:
On Wed, Aug 22, 2007 at 01:36:20AM +0200, Pieter de Goeje wrote:
On Tuesday 21 August 2007, sam wrote:
Hi, all.
i am try runing Enemy Territory: Quake Wars server
(links on http://weec.ovl.ru/csdivision/index.php?topic=662.0
or upgrade to FreeBSD 7, or find a version of the
program that doesn't use TLS (non threaded version).
Hope this helps,
Pieter de Goeje
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send
not Subscribed to the list
ki_ppid (parent process id) will be zero.
Cheers,
Pieter de Goeje
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]
On Tuesday 17 April 2007, Andre Oppermann wrote:
Zhang Weiwu wrote:
On Tue, 2007-04-17 at 10:37 +0300, Nikos Vassiliadis wrote:
On Monday 16 April 2007 21:24, Zhang Weiwu wrote:
Pieter de Goeje 写道:
I think your patch looks good, however there have been some changes to
ftpd since 6.1. Also
:
family = (family == AF_INET) ? AF_UNSPEC :
AF_INET6; break;
+
+ case '8':
+ utf8_mode = 1;
Add missing break statement here?
case 'a':
bindname = optarg;
Cheers,
Pieter de Goeje
.
- Pieter de Goeje
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]
On zaterdag 31 maart 2007, Garrett Cooper wrote:
Pieter de Goeje wrote:
Hello List,
I have these files:
--- loader.cpp ---
#include stdio.h
#include tls.h
int main() {
tls = 0;
printf(%d\n, tls);
}
--- tls.cpp ---
#include tls.h
int __thread tls
light on this.
Regards,
Pieter de Goeje
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]
. The thread
will cleanup automatically after the thread function returns.
-- Pieter de Goeje
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]
On Tuesday 28 November 2006 23:41, Garrett Cooper wrote:
So that means no, after a function's definition is reached the
thread/resources stay in a semi-'alive' (maybe 'zombified') state?, or
does the kernel cleanup / reclaim all of the resources tied up with the
thread?
-Garrett
If you detach
Hi Chris,
On Sunday 11 June 2006 07:51, Chris Jones wrote:
Hi, folks --- as some of you might know, FreeBSD has a Summer of Code
project to bring resource limits to jails, and one part of that is to
permit an administrator to put limits on a jail's CPU usage. That's
where I come in: I'm the
on it, and it seems the mkdir utility is aware of the
EISDIR error. Kinda weird if you ask me, since it isn't documented.
Pieter de Goeje
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
(for RELENG-6):
http://www.googlebit.com/freebsd/patches/rc_fancy.patch-6
Eric
Looks really good to me :)
Regards,
Pieter de Goeje
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send
35 matches
Mail list logo