/[mojave]/libmojave/stdlib/OMakefile
ViewVC logotype

Log of /libmojave/stdlib/OMakefile

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 9643 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 28 17:47:14 2006 UTC (14 years, 7 months ago) by nogin
File length: 853 byte(s)
Diff to previous 8516
Made MetaPRL compile with the latest 0.9.8 OMake.


Revision 8516 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 19 21:56:00 2006 UTC (15 years, 5 months ago) by jyh
File length: 575 byte(s)
Diff to previous 8059
Add install commands.


Revision 8059 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 1 03:12:44 2005 UTC (15 years, 7 months ago) by nogin
File length: 678 byte(s)
Copied from: libmojave-branches/omake-0.9.6.x/stdlib/OMakefile revision 7877
Diff to previous 8058
Turned out that it is impossible to replace a directory in one commit :-(


Revision 8058 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 1 03:09:38 2005 UTC (15 years, 7 months ago) by nogin
Original Path: libmojave-branches/closed/omake_0_9_7_pre7/stdlib/OMakefile
File length: 678 byte(s)
Copied from: libmojave-branches/omake-0.9.6.x/stdlib/OMakefile revision 7877
Diff to previous 7878
- Copying libmojave's omake_0_9_7_ref branch to trunk
- Moving all the libmojave branches to "closed"
- Switching OMake (both 0.9.6.x and omake_0_9_7_ref branches) to using the
  libmojave trunk.


Revision 7878 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 9 00:13:24 2005 UTC (15 years, 8 months ago) by jyh
Original Path: libmojave-branches/omake_0_9_7_pre7/stdlib/OMakefile
File length: 678 byte(s)
Copied from: libmojave-branches/omake-0.9.6.x/stdlib/OMakefile revision 7877
Diff to previous 2010
Re-added all the files that were left behind from the branch.


Revision 2010 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 15 02:24:11 2005 UTC (15 years, 9 months ago) by nogin
Original Path: libmojave-branches/omake-0.9.6.x/stdlib/OMakefile
File length: 678 byte(s)
Diff to previous 742
Companion libmojave branch.


Revision 742 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 6 22:07:46 2005 UTC (16 years, 5 months ago) by nogin
File length: 678 byte(s)
Diff to previous 729
Set it up to be possible to build LibMojave on its own.


Revision 729 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 1 03:40:28 2005 UTC (16 years, 5 months ago) by jyh
File length: 698 byte(s)
Diff to previous 725
OCamlLibrary should be defined even if LMINSTALL is undefined.


Revision 725 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 31 22:09:13 2004 UTC (16 years, 5 months ago) by jyh
File length: 660 byte(s)
Diff to previous 516
Trying to make libmojave MetaPRL-independent, so we can use it for CS134b.


Revision 516 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 2 07:39:54 2004 UTC (16 years, 9 months ago) by nogin
File length: 632 byte(s)
Diff to previous 515
lm_threads_pool.ml is a generated symlink and should be removed
on "omake clean".


Revision 515 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 2 03:17:46 2004 UTC (16 years, 9 months ago) by jyh
File length: 556 byte(s)
Diff to previous 385
Incorporate the new files in libmojave.


Revision 385 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 10 02:08:17 2004 UTC (17 years ago) by nogin
File length: 394 byte(s)
Diff to previous 384
Made "omake clean" cleaner.


Revision 384 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 9 18:38:01 2004 UTC (17 years ago) by jyh
File length: 488 byte(s)
Diff to previous 383
This modifies the infrastructure for threads.  Here is the model:

    1. Each thread has a current state, and each state has a set
       of global variables.

    2. State variables must be locked before being used.

    3. State variables come in two types: shared and private.
       Each state has its own copy of the private variables.

For example, each job in the shell has its own state, and its
own copy of the Shell.info struct.  States are managed implicitly,
so global variables look just like global variables.  Access is
managed with the State.read/State.write routines.

Here is an example of usage for a shared variable:

    let global_entry = State.shared_val "debug" (ref 0)

    let get () =
       State.read global_entry (fun x -> !x)

    let incr () =
       State.write global_entry (fun x -> x := !x + 1)

For private variable, you have to supply a "fork" function that
is used to copy the value.  Each thread/state will have its own copy
of the variable.  The other functions remain the same.

    let global_entry = State.shared_val "debug" (ref 0) (fun x -> ref !x)

All the State.* functions are wrappers that take a function argument.  The
value is locked on entry into the function, and unlocked when the function exits.
Exceptions are handled correctly.

Don't use Mutex if you can help it!!!  The Mutex functions do not
handle exceptions correctly.  Use the State module instead.

NOTES:

   1. I removed the Java interface...  It was just getting to be too much
      of a hassle.  We can ressurect it if we ever want it again.

   2. This is just the infrastructure pass.  The global values used by the
      browser need to be updated to the new model.


Revision 383 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 2 05:32:49 2004 UTC (17 years ago) by nogin
File length: 472 byte(s)
Diff to previous 381
"omake clean" should be a bit more clean.


Revision 381 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 1 20:19:04 2004 UTC (17 years ago) by jyh
File length: 458 byte(s)
Diff to previous 350
Splitting the lm_threads files.


Revision 350 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 24 02:17:59 2004 UTC (17 years, 2 months ago) by jyh
File length: 287 byte(s)
Diff to previous 347
Remove aggressive use of Lm_rformat.  To use the normal format library,
use Lm_printf.  For output that should be diverted to the output device,
use Lm_rprintf.


Revision 347 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 21 09:47:02 2004 UTC (17 years, 2 months ago) by nogin
File length: 532 byte(s)
Diff to previous 339
Be more clean on "omake clean"


Revision 339 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 19 01:46:45 2004 UTC (17 years, 2 months ago) by jyh
File length: 515 byte(s)
Diff to previous 208
This is an annoying commit.  It looks massive, but many of the changes
are just to "open" statements.  Here is the issue that is addressed.
   1. Format is a superset of Printf, and it is much better.
   2. MetaPRL's Rformat is a superset of Format, and it is much better.

This commit moves Rformat into libmojave, as Lm_rformat.  With this
commit, all output normally goes through Lm_rformat.  Feel free to
continue to use Format/Printf in special cases, but normal user output
should go through Lm_format/Lm_printf.  You will probably need to use
Lm_pervasives as well.

Lm_pervasives defines an (output_rbuffer : out_channel -> Lm_buffer.t -> unit)
that should be used instead of the print_text_channel function.

There is a new FORMAT option in mk/config.  Define FORMAT=Format to
enable old behavior if you have trouble.

There are two reasons behind this:
   1. We had a mix of files that use Printf and those that use Format
      for output.  This was a mess.  For instance format-style print
      directives (like "@[<hv 3>Content of text box@]@.") can't be
      used in raw Printf.  This meant that output functions had
      to be duplicated, one version for Printf, and one for Format.
      This commit solves the problem.
   2. Another reason, and the real reason behind this, is to allow
      output to be diverted based on the display device.


Revision 208 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 16 09:27:50 2003 UTC (17 years, 8 months ago) by nogin
File length: 245 byte(s)
Diff to previous 165
Gave libmojave its own install target $(LMINSTALL) instead of using
the common $(MPINSTALL) one.

This is a small step towards making libmojave completely independent (bug 83).

( For some reason this did get checked in the first time around -
http://cvs.metaprl.org:12000/commitlogs/metaprl/2003-10.html#03/10/15.20:06:08 )


Revision 165 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 5 00:14:53 2003 UTC (17 years, 9 months ago) by nogin
File length: 245 byte(s)
Diff to previous 107
This fixed bug 32 - "omake clean" now really cleans everything in needs to clean
and "omake realclean" now only prompts about .omakedb, and mk/config* files.


Revision 107 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 9 07:19:46 2003 UTC (17 years, 11 months ago) by nogin
File length: 147 byte(s)
Diff to previous 87
Merging in the abstract_vars branch:
- variables are now an abstract type, not strings
- MVar parameters are gone

See the branch log messages for more information.

P.S. This is a pretty big change, so I bumped the version number
in mk/preface.


Revision 87 - (view) (download) (annotate) - [select for diffs]
Added Fri Jul 4 03:56:02 2003 UTC (17 years, 11 months ago) by jyh
File length: 232 byte(s)
Beginning the slow process of migrating MetaPRL toward libmojave.


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26