Changeset: 72bd0543ee79 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=72bd0543ee79
Modified Files:
        sql/backends/monet5/bam/bam_loader.c
Branch: bamloader
Log Message:

Use GDKnr_threads within bam loader


diffs (21 lines):

diff --git a/sql/backends/monet5/bam/bam_loader.c 
b/sql/backends/monet5/bam/bam_loader.c
--- a/sql/backends/monet5/bam/bam_loader.c
+++ b/sql/backends/monet5/bam/bam_loader.c
@@ -422,7 +422,7 @@ bam_loader_repos(Client cntxt, MalBlkPtr
        /* For now, we hard code the number of threads, since the SQL
           level should not bother with this */
 
-       sht nr_threads = 4;
+       sht nr_threads = GDKnr_threads;
 
        str *filenames = NULL;
        int nr_files = 0;
@@ -543,7 +543,7 @@ bam_loader_files(Client cntxt, MalBlkPtr
        sht dbschema = *getArgReference_sht(stk, pci, pci->retc + 1);
        /* For now, we hard code the number of threads, since the SQL
           level should not bother with this */
-       sht nr_threads = 4;
+       sht nr_threads = GDKnr_threads;
 
        str *filenames = NULL;
        int nr_files = 0;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to