On 01/18/2012 06:57 PM, Dieter BSD wrote:
Andriy writes:
And dealing with PRs is not always exciting.
Neither is brushing your teeth or cleaning the kitchen, but most of us
manage to do them at least occasionally. Part of being a grown up.
Instead of looking for a stick to hold over developer
Find some mailing lists that have nothing to do with FreeBSD, and
barrage them with spam promoting FreeBSD.
:-)
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "fre
On 09/17/12 11:14, Lorenzo Cogotti wrote:
Il 17/09/2012 17:42, Poul-Henning Kamp ha scritto:
In message , Lorenzo Cogotti writ
es:
Hi,
I was wondering about the possibility of FreeBSD to provide an official
supported graphical environment.
We already do: It's called "X11" :-)
(sending back
On 02/04/2013 08:48 PM, Eitan Adler wrote:
> Is the following page still useful?
>
> Would there be any objection to me removing it?
>
> http://www.freebsd.org/projects/c99/index.html
We are still working on complex and long double functions.
___
free
On Sun, 11 Feb 2007, Daniel Eischen wrote:
On Sun, 11 Feb 2007, Eugene M. Kim wrote:
Hello all,
I am writing a mouse device driver for my Wacom tablet (Intuos 2 9x12).
The tablet comes with a mouse and I managed to get valid coordinate data
from the device. However, unlike usual mice, the
On Sun, 11 Feb 2007, Stephen Montgomery-Smith wrote:
On Sun, 11 Feb 2007, Daniel Eischen wrote:
On Sun, 11 Feb 2007, Eugene M. Kim wrote:
Hello all,
I am writing a mouse device driver for my Wacom tablet (Intuos 2 9x12).
The tablet comes with a mouse and I managed to get valid
I have been thinking a lot about looking for speed increases for "make
index" and pkg_version and things like that. So for example, in
pkg_version, it calls "make -V PKGNAME" for every installed package.
Now "make -V PKGNAME" should be a speedy operation, but the make has to
load in and analyz
On Mon, 28 May 2007, Michel Talon wrote:
Stephen Montgomery-Smith said:
I suggest rewriting "make" so that variables are only evaluated on a
"need to know" basis.
or "I have tried to do this."
Of course a lot of people have thinked about it, and quickly
Jeremy Chadwick wrote:
On Sun, May 27, 2007 at 03:52:16PM -0500, Stephen Montgomery-Smith wrote:
I have been thinking a lot about looking for speed increases for "make
index" and pkg_version and things like that. So for example, in
pkg_version, it calls "make -V PKG
I'm looking for something that will work with the existing framework.
But yes, I get the feeling that maybe using "make" to process the ports
might be the source of the problem. Make is a program primarily
designed for figuring out which was made first, the target or the
source, but in the por
Hartmut Brandt wrote:
Having done a great deal of rewriting of make some two years ago I can
tell you that even a small change to make is a tough job testing-wise:
run all the combinations of !-j and -j on all architectures and run
the change through the port-building cluster. That's a warning
Ivan Voras wrote:
Stephen Montgomery-Smith wrote:
I have been thinking a lot about looking for speed increases for "make
index" and pkg_version and things like that. So for example, in
pkg_version, it calls "make -V PKGNAME" for every installed package. Now
"make -V PK
Jeremy Chadwick wrote:
On Sun, May 27, 2007 at 03:52:16PM -0500, Stephen Montgomery-Smith wrote:
I have been thinking a lot about looking for speed increases for "make
index" and pkg_version and things like that. So for example, in
pkg_version, it calls "make -V PKG
On Mon, 28 May 2007, David Naylor wrote:
On Monday 28 May 2007 03:43, you wrote:
Maybe I should look at the inner workings of cmake and gmake. Maybe
they have some good ideas. However having looked through the source
code of make, and also looking at the cvs logs, it does seem to be well
wr
Roman Divacky wrote:
On Mon, May 28, 2007 at 11:34:24AM -0500, Stephen Montgomery-Smith wrote:
Jeremy Chadwick wrote:
On Sun, May 27, 2007 at 03:52:16PM -0500, Stephen Montgomery-Smith wrote:
I have been thinking a lot about looking for speed increases for "make
index" and pkg_v
On Wed, 30 May 2007, Bakul Shah wrote:
Peter Jeremy <[EMAIL PROTECTED]> wrote:
On 2007-May-27 16:12:54 -0700, Bakul Shah <[EMAIL PROTECTED]> wrote:
Given the size and complexity of the port system I have long
felt that rather than do everything via more and more complex
Mk/*.mk what is is ne
On Wed, 13 Jun 2007, [EMAIL PROTECTED] wrote:
PS I'm looking at pkg_install and pkg_version mostly, but I'll be looking
into the other package utilities closely in the next couple weeks, evaluating
what approaches I should take in solving some bottlenecks with installing
packages and ports.
Jack L. wrote:
On 6/24/07, Martin Turgeon <[EMAIL PROTECTED]> wrote:
Hi,
I recently installed AMD64 6.2 Release on 2 PowerEdge servers, both with
dual core Xeon (3070 and 5110). I noticed when I was updating the
sources that it was compiling as an Athlonxp by default. I was wondering
if I shoul
I appreciate that most people won't have this problem, but it has bitten me.
After you have made and installed a port, but don't clean it, and then
made a bunch of other ports, if you go back to the original port and
then do "make package", then +CONTENTS can be a bit messed up for the
package
Alexander Leidinger wrote:
Quoting Stephen Montgomery-Smith <[EMAIL PROTECTED]> (Tue, 17 Jul 2007 19:46:11
-0500):
I appreciate that most people won't have this problem, but it has bitten me.
After you have made and installed a port, but don't clean it, and then
made a bunc
Alexander Leidinger wrote:
Quoting Stephen Montgomery-Smith <[EMAIL PROTECTED]> (Tue, 17 Jul 2007 19:46:11
-0500):
I appreciate that most people won't have this problem, but it has bitten me.
After you have made and installed a port, but don't clean it, and then
made a bunc
If you "pkg_delete -f" a package and then install the port again (but
after it has been bumped up a version), then the +CONTENTS of ports that
require the original port will be incorrect. This apparently messes up
programs like portmanager. There is a sense in which one should never do
"pkg
Robert Noland wrote:
On Wed, 2007-07-18 at 15:56 -0500, Stephen Montgomery-Smith wrote:
If you "pkg_delete -f" a package and then install the port again (but
after it has been bumped up a version), then the +CONTENTS of ports that
require the original port will be incorrect. This
On Sun, 25 Nov 2007, Robert Watson wrote:
In FreeBSD 8, I expect we'll see a continued focus on both locking
granularity and improving opportunities for kernel parallelism by better
distributing workloads over CPU pools. This is important because the number
of core
On Sun, 25 Nov 2007, Roman Divacky wrote:
On Sun, Nov 25, 2007 at 02:41:35PM -0600, Stephen Montgomery-Smith wrote:
On Sun, 25 Nov 2007, Robert Watson wrote:
In FreeBSD 8, I expect we'll see a continued focus on both locking
granularity and impr
On Sun, 25 Nov 2007, Kip Macy wrote:
I just want to add my 2 cents, that my recent experience with FreeBSD MP
has been extremely positive. I tend to use highly CPU bound MP programs,
typically lots and lots of floating point operations. It used to be that
Linux beat FreeBSD hands down - now
Chuck Robey wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I was wondering ... I have (I think) nvidia working on my box, or at least,
I am calling out the nvidia driver in the xorg.conf, but I was wondering if
there is any program that only works with the nvidia hardware, some way I
can a
top doesn't get TIME right for threaded processes. How about this small
change:
--- usr.bin/top/machine.c-orig 2008-06-12 23:06:08.0 -0500
+++ usr.bin/top/machine.c 2008-06-12 23:06:51.0 -0500
@@ -725,6 +725,7 @@
prev_pp = pp;
} els
On the whole, I rather like the installation process for FreeBSD.
Generally what I really like about FreeBSD is the ease of system
administration, and whenever I use Linux distributions I get rather
frustrated.
If, as the OP suggests, installation of packages from the FreeBSD CD's
requires sw
Lothar Braun wrote:
What about having two utilities for the installation process? Something
like a very small (non-gui/non-X) version of "sysinstall" that just
installs a base system and only has the functionality to
- partition/label a disk
- configure the network (if needed for installation
I want to use getrusage to see how much time a program is using. But
this is a multithreaded program, and I just want the time taken by that
particular thread!
I know this info must be available somewhere, because top -H seems to
provide it. But getrusage seems to give the total rusage for t
Sergey Babkin wrote:
I want to use getrusage to see how much time a program is using. But
this is a multithreaded program, and I just want the time taken by that
particular thread!
I know this info must be available somewhere, because top -H seems to
provide it. But getrusage seems to give
Rob Lytle wrote:
Hi Kevin,
The sysinstall dependency problem has existed for 10 years, so I doubt that
its unique to me. It has occurred in every installation I have ever done.
I use portupgrade for all ports.
i strongly disagree with using ports for huge packages. I don't have the
time to
Rob Lytle wrote:
On Thu, Jul 3, 2008 at 9:33 PM, Stephen Montgomery-Smith <
[EMAIL PROTECTED]> wrote:
Rob Lytle wrote:
Hi Kevin,
The sysinstall dependency problem has existed for 10 years, so I doubt
that
its unique to me. It has occurred in every installation I have ever done.
Jingshao Chen wrote:
Hi,
Since you have been unix admin for a few years, I guess you probably have
some experience with C programming. This book is more advanced, but it
is a really good one.
Advanced Programming in the UNIX Environment: Paperback Edition (2nd Edition)
http://www.amazon.com/Adv
I notice that if you use "malloc" from within a signal handler on
FreeBSD-6.x, that you can potentially trigger a "recursive call" error.
But this seems to have changed in FreeBSD-7.x.
Is it now permissible to call "malloc" from within a signal handler in
FreeBSD-7.x?
If so, should the man p
Nate Eldredge wrote:
int bangbang(int x) { return !!x; }
int ternary(int x) { return x ? 1 : 0; }
Stylewise, I prefer
int notzero(int x) { return x!=0; }
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-
RW wrote:
On Sun, 29 Mar 2009 17:40:30 -0400
Chuck Robey wrote:
I just had to see if I could locate if there was a gnome project page
by looking at the FreeBSD web pages. Why don't you try that
yourself? I'll tell you, it's really FAR from being obvious. I'm
just saying, even if folks don't
Alexander Best wrote:
thanks. now the output gets redirected using >. i'm quite new to programming
under unix. sorry for the inconvenience.
so i guess there is no really easy way to output an inhomogeneous struct to
stdout without using a loop to output each array contained in the struct.
cheer
Alfred Perlstein wrote:
* Alexander Leidinger [090822 10:44] wrote:
On Sat, 22 Aug 2009 00:04:10 -0700 Julian Elischer
wrote:
The purists won out in that one by shouting loudly and screaming
about socialized healthware. Consequently we have 47 million
unsupported devices.
You forgot to tell
On Sat, 22 Aug 2009, Julian Elischer wrote:
Stephen Montgomery-Smith wrote:
Alfred Perlstein wrote:
* Alexander Leidinger [090822 10:44] wrote:
On Sat, 22 Aug 2009 00:04:10 -0700 Julian Elischer
wrote:
The purists won out in that one by shouting loudly and screaming
about socialized
I would like to introduce a program into the base called
"screw-the-whole-system." It would do something like this:
while true; do \
echo "Please wait while your system is being destroyed..."
sleep 10
done
___
freebsd-hackers@freebsd.org mailing list
Doug Barton wrote:
I was not going to reply on this thread at all, but the amount of
random speculation has now reached a pathological level.
The spurious new line at the end of a file has nothing to do with svn,
it is an artifact of how the file was originally transferred to the
cvsup mirror. T
Victor Sudakov wrote:
But to hell with this. I started the topic because I think something
is wrong with SVN to CVS export, which upsets cvsup and causes
"Checksum mismatch" errors. Is anybody willing to look at it?
I second Victor's request.
___
f
I also build my ports in a "jail" environment (only its not a really a
jail, just a chroot).
After I have built the ports I want, I create the packages using the
following little script. (My mail client will have mangled the script,
so take care when you copy and paste it, e.g. it needs to be
Clifton Royston wrote:
I'm soon to build myself a new AMD X2 workstation system on which I
plan to multiboot various operating systems including FreeBSD, a couple
Linux distros and probably Windows XP Pro, and probably also run
virtualization software (VMWare and/or Xen.) I'm hoping for it to l
M. Warner Losh wrote:
In message: <[EMAIL PROTECTED]>
"M. L. Dodson" <[EMAIL PROTECTED]> writes:
: On a computational chemistry list I subscribe to there is a
: current thread about multi-cpu systems needing to have the cpu
: frequencies synced (this is in a Linux context). This is
:
Matthew Hudson wrote:
Mon Dec 11 09:08:37 PST 2006 c0re dumped wrote:
I wonder if is possible to read data from a
certain file without using a pipe.
Let me explain:
I have a process already writing messages to
a logfile. I want to read all written data
(without neither stop nor interfere norm
Dan Nelson wrote:
In the last episode (Jan 30), [EMAIL PROTECTED] said:
An unprivileged user could waste all CPU time by setting a low delay
value in top (interactive or via -s).
Are you sure? In 6.2 at least, "s0" in interactive mode results in a
1-second delay, and "top -s0" prints
top:
ement to the comp.unix.bsd.freebsd
newsgroups.
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Mike Silbersack wrote:
>
>
> Matt's performance manpage covers a lot of this, but is probably not as
> easy to digest as an interactive script.
>
What do I type to read this man page?
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
Simon Burke wrote:
Whener i try to install openoffice 1.1 from ports after several hours
of compiling etc, i get the following error message.
Is openoffice 1.1 port broken? or is it me?
Im running 5.3R and i've cvsuped ports to get gnome 2.8 running which went fine.
Any ideas?
I once had problems l
John Baldwin wrote:
There is a problem in the kernel that causes with 3 or more processors
(including logical CPUs from HTT). Disabling HTT in the BIOS is probably
your best bet as it will get you down to 2 CPUs which should work much
better. HTT also isn't but so useful anyways for most workl
might
have hesitation over Vol 2, but only because it covers stuff that you
might not need.
He writes extremely well.
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
___
freebsd-hackers@freebsd.org mailing list
http
; But after rebooting on this new kernel, I had a page fault before
> any kernel message :/ Is there anything to check in order to know if I
> can use a config instead of a config -r ? If using a config without the
> -r option is dangerous, I think it shouldn't be the default
FUJISHIMA Satsuki wrote:
Currently native SATA drives are still not so popular. There are:
Seagate Barracuda ATA V, 7200.7, 7200.8
I have one of these, and I am really impressed by its performance. I
added one to my computer, which came with a Maxtor 6Y080L0. My main
disk intensive operation i
Thomas Wolf wrote:
Stephen Montgomery-Smith <[EMAIL PROTECTED]> schrieb:
FUJISHIMA Satsuki wrote:
Currently native SATA drives are still not so popular. There are:
Seagate Barracuda ATA V, 7200.7, 7200.8
I have one of these, and I am really impressed by its performance. I
added one
Søren Schmidt wrote:
Stephen Montgomery-Smith wrote:
Thomas Wolf wrote:
Stephen Montgomery-Smith <[EMAIL PROTECTED]> schrieb:
FUJISHIMA Satsuki wrote:
Currently native SATA drives are still not so popular. There are:
Seagate Barracuda ATA V, 7200.7, 7200.8
I have one of these, and I am
ams I wrote for FreeBSD
won't compile in Red-Hat Linux.
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Walt Disney Feature Animation
> (*)/ (*)
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
[EMAIL PROTECTED] wrote:
>
> In <[EMAIL PROTECTED]>, on 07/14/2001
>at 11:09 AM, [EMAIL PROTECTED] said:
>
> >Running natively under FreeBSD:
>
> >x = 53.2785
> >exp(x) = 137581029243568449912832.
>
> >Running natively under Linux:
>
> >x = 53.278500
> >exp(x) = 13758102924356
Yes, I tried out the program
#include
#include
main() {
double x,y;
int i;
x = 53.278500;
y = exp(x);
printf("%8lf\n",x);
for(i=0;ihttp://www.math.missouri.edu/~stephen
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
My point is that the correct answers are
way less than 1e308, so there is no excuse for the wrong answers.
By the way, Mathematica, which is Linux binary running under emulation,
gets the answers correct.
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
To Unsu
Stephen Montgomery-Smith wrote:
>
>
> exp(54) = 160.331128 is way way wrong, by orders of magnitude.
Sorry - programming error - I forgot to change gamma back to exp.
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
To Unsubscribe: send mail
Stephen Montgomery-Smith wrote:
>
> Same for gamma(53.27850) = 157.464664.
>
Figured out this problem. gamma is returning the result of lgamma.
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
To Unsubscribe: send mail to [EMAIL PROTEC
nce.
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
ck to this, as it must be
> possible, right?
>
> Thank you,
>
> Hans
> [EMAIL PROTECTED]
>
fprintf(stderr,..) will print stuff when ncurses is running.
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
thing like this, I froze the whole computer.
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
listen(listenfd,6);
while (1)
{
slen=sizeof(servaddr);
arg = malloc(sizeof(arg_pass_type));
arg->connfd = accept(listenfd,(struct sockaddr*)&servaddr,&slen);
arg->addr = servaddr.sin_addr;
arg->port = servaddr.sin_port;
pthread_create(&tid,NULL,pro
Thanks everyone for exellent answers - I learned something from every
single email I received in response.
Thanks, Stephen
> Stephen Montgomery-Smith wrote:
> >
> > I have written a server program that listens on port 3000. The program
> > works very well except for one
d one particular thread without suspending the whole process?
> I can not use sleep or usleep can I?
>
> TIA
> Arjan
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
--
Stephen Montgomery-Smith
ng upon your particular problem, for example
pthread_cond_timedwait
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
dimension, and comes out of
/dev/random.
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
pentium 4 or better.
- Remove ext2 support (GPL encumbered).
Remove ffs support also (BSD license encumbered).
- Add perl 5.8 *and* python 2.2 to base.
I agree - perl makes a perfect replacement for tar.
- Remove Sendmail and replace it with Postfix.
I prefer USPS.
--
Stephen Montgomery-Smith
[E
tat(), but do I
have any other choices?
I would say, use select(2).
Is there a reason this wouldn't work?
-- Josh
Either select(2) or poll(2) should work.
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
___
of
file. Thus select will not block and will say that this file is ready for
reading. In essence, calling select will always say that a file is ready for
reading, and calling select serves no purpose.
Well I definitely learned something.
--
Stephen Montgomery-Smith
[EMAI
pt_time is
not defined anywhere. It looks to me like netinet/ip.h is broken.
What is it that you need netinet/ip.h for? Maybe there are some other include
files that would work just as well.
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.ed
well.
Sorry - it is I who is the complete idiot. Please totalyl ignore my last post.
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd
particular the FreeBSD docs were better at explaining how it worked.)
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubs
#ifdef i686
But arch doesn't exist on FreeBSD.
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Alfred Perlstein wrote:
>
> * Stephen Montgomery-Smith <[EMAIL PROTECTED]> [020104 12:02] wrote:
> > I want to create a Makefile for a C program that includes some Pentium
> > II specific inline assembler code. How do I tell the compiler whether
> > we are compilin
"Matthew D. Fuller" wrote:
>
> On Fri, Jan 04, 2002 at 12:02:03PM -0600 I heard the voice of
> Stephen Montgomery-Smith, and lo! it spake thus:
> > I want to create a Makefile for a C program that includes some Pentium
> > II specific inline assembler code. How
C */
"movl 124(%0),%1\n"
"adcl %1,124(%0)\n"
: : "r" (_x), "r" (_a)
);
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
John Baldwin wrote:
>
> On 07-Jan-02 Stephen Montgomery-Smith wrote:
> > John Baldwin wrote:
> >>
> >> > You know, I have no idea. It is someone elses code. These are the
> >> > instructions. Can anyone tell me?
> >> >
> >>
FreeBSD 3.x you
> did need to do -lc_r, but that was changed to -pthread in 4.0.
>
> Warner
>
According to the man page for gcc, you are supposed to write
cc -o test test.c -pthread -D_THREAD_SAFE
or am I misunderstanding something?
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
ht
"M. Warner Losh" wrote:
>
> In message: <[EMAIL PROTECTED]>
> Stephen Montgomery-Smith <[EMAIL PROTECTED]> writes:
> : cc -o test test.c -pthread -D_THREAD_SAFE
> :
> : or am I misunderstanding something?
>
> Ah, yes. -D_THREAD_SAFE
I have access to a rather large computer (3GB of RAM) and I would like
to write a program to access most of this memory. I find that I am
unable to malloc more than about 0.5 GB of memory, even if I do it in
small increments. Now I am trying mmap, and this lets me get to about
2.5 GB of memory (
, but
I have no idea what to make of it.
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
(Sorry, couldn't resist it.)
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
nanosleep won't work).
I looked at the man pages, but all I could find was runtime which seems
only to be accessible from the kernel.
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscri
It looks like exactly what I want.
Thanks.
Sergey Lyubka wrote:
> Would getrusage() help ?
>
> On Fri, Aug 16, 2002 at 10:21:07AM -0500, Stephen Montgomery-Smith wrote:
>
>>How do I do the following:
>>
>>1) Find out how much time a program has currentl
/query-pr.cgi?pr=20352
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
if ((*s = realloc(*s,len+1))==NULL) {
fprintf(stderr,"Allocation error\n");
exit(1);
}
}
else {
if (*s!=NULL) free(*s);
*s = NULL;
}
return *s;
}
--
Stephen Montgomery-Smith
[EMAIL PROTECTED]
http://www.math.missouri.edu/~stephen
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
93 matches
Mail list logo